菜品类型多选

This commit is contained in:
huangdeliang
2021-01-19 11:52:57 +08:00
parent 2be6c3c97f
commit 20f82629b1
2 changed files with 12 additions and 7 deletions

View File

@ -39,7 +39,7 @@
<include refid="selectSysDishesVo"/>
<where>
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
<if test="type != null and type != ''"> and type = #{type}</if>
<if test="type != null and type != ''"> and FIND_IN_SET(#{type}, type)</if>
<if test="reviewStatus != null and type != ''"> and review_status = #{reviewStatus}</if>
</where>
</select>