change - 自定义数据查询

master
yinq 6 months ago
parent 42877de7dd
commit e544e2ab11

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

Loading…
Cancel
Save