Commit c060d6b3 authored by hongguangwu's avatar hongguangwu

1.5.6-EMPCONCTRACT-薪资配置项目编码模糊搜索

parent 3e4b44b6
......@@ -41,16 +41,16 @@
AND ID = #{tConfigSalary.id}
</if>
<if test="tConfigSalary.name != null and tConfigSalary.name.trim() != ''">
AND NAME like '%${tConfigSalary.name}%'
AND NAME like concat('%', #{tConfigSalary.name},'%')
</if>
<if test="tConfigSalary.departId != null and tConfigSalary.departId.trim() != ''">
AND DEPART_ID = #{tConfigSalary.departId}
</if>
<if test="tConfigSalary.departNo != null and tConfigSalary.departNo.trim() != ''">
AND DEPART_NO = #{tConfigSalary.departNo}
AND DEPART_NO like concat('%', #{tConfigSalary.departNo},'%')
</if>
<if test="tConfigSalary.departName != null and tConfigSalary.departName.trim() != ''">
AND DEPART_NAME = #{tConfigSalary.departName}
AND DEPART_NAME like concat('%', #{tConfigSalary.departName},'%')
</if>
<if test="tConfigSalary.salaryMonth != null ">
AND SALARY_MONTH = #{tConfigSalary.salaryMonth}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment