change - 设备参数模糊查询问题处理

main
wenjy 3 years ago
parent f1b1b9c1be
commit d3214be5b0

@ -26,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectSysParamConfigList" parameterType="SysParamConfig" resultMap="SysParamConfigResult"> <select id="selectSysParamConfigList" parameterType="SysParamConfig" resultMap="SysParamConfigResult">
<include refid="selectSysParamConfigVo"/> <include refid="selectSysParamConfigVo"/>
<where> <where>
<if test="paramType != null and paramType != ''"> and Param_Type like concat('%', #{paramType}, '%')</if> <if test="paramType != null and paramType != ''"> and Param_Type = #{paramType}</if>
<if test="paramTitle != null and paramTitle != ''"> and Param_Title like concat('%', #{paramTitle}, '%')</if> <if test="paramTitle != null and paramTitle != ''"> and Param_Title like concat('%', #{paramTitle}, '%')</if>
<if test="paramText != null and paramText != ''"> and Param_Text like concat('%', #{paramText}, '%')</if> <if test="paramText != null and paramText != ''"> and Param_Text like concat('%', #{paramText}, '%')</if>
<if test="enableFlag != null "> and Enable_Flag = #{enableFlag}</if> <if test="enableFlag != null "> and Enable_Flag = #{enableFlag}</if>

Loading…
Cancel
Save