change - 自定义数据查询

master
yinq 9 months ago
parent 42877de7dd
commit e544e2ab11

@ -39,8 +39,10 @@
<include refid="selectBaseCustomDataVo"/> <include refid="selectBaseCustomDataVo"/>
<where> <where>
<if test="customType != null ">and custom_type = #{customType}</if> <if test="customType != null ">and custom_type = #{customType}</if>
<if test="customFunction != null and customFunction != ''">and custom_function = #{customFunction}</if> <if test="customFunction != null and customFunction != ''">and custom_function like concat(concat('%',
<if test="customCode != null and customCode != ''">and custom_code = #{customCode}</if> #{customFunction}), '%')</if>
<if test="customCode != null and customCode != ''">and custom_code like concat(concat('%',
#{customCode}), '%')</if>
<if test="customData != null and customData != ''">and custom_data = #{customData}</if> <if test="customData != null and customData != ''">and custom_data = #{customData}</if>
<if test="customSort != null ">and custom_sort = #{customSort}</if> <if test="customSort != null ">and custom_sort = #{customSort}</if>
<if test="isFlag != null ">and is_flag = #{isFlag}</if> <if test="isFlag != null ">and is_flag = #{isFlag}</if>

Loading…
Cancel
Save