解决在没有选择操作类型时点击搜索出错问题

pull/87/head
chenzz 6 years ago
parent 7555e5aef1
commit a2d95a8083

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

Loading…
Cancel
Save