查询条件支持下拉多选

This commit is contained in:
RuoYi
2019-05-14 12:23:59 +08:00
parent 0bad889607
commit 7555e5aef1
10 changed files with 3681 additions and 7 deletions

View File

@ -40,6 +40,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="businessType != null">
AND business_type = #{businessType}
</if>
<if test="businessTypes != null and businessTypes != ''">
AND business_type in
<foreach collection="businessTypes" item="businessType" open="(" separator="," close=")">
#{businessType}
</foreach>
</if>
<if test="status != null">
AND status = #{status}
</if>