Commit 7fe9d583 authored by hongguangwu's avatar hongguangwu

Merge remote-tracking branch 'origin/develop' into develop

parents 3d8290db 863ee249
......@@ -116,7 +116,7 @@
AND a.DEPT_ID = #{tSalaryEmployee.deptId}
</if>
<if test="tSalaryEmployee.deptName != null and tSalaryEmployee.deptName.trim() != ''">
AND a.DEPT_NAME = #{tSalaryEmployee.deptName}
AND a.DEPT_NAME like concat('%',#{tSalaryEmployee.deptName},'%')
</if>
<if test="tSalaryEmployee.deptNo != null and tSalaryEmployee.deptNo.trim() != ''">
AND a.DEPT_NO = #{tSalaryEmployee.deptNo}
......@@ -146,7 +146,7 @@
AND a.BANK_NO = #{tSalaryEmployee.bankNo}
</if>
<if test="tSalaryEmployee.invoiceTitle != null and tSalaryEmployee.invoiceTitle.trim() != ''">
AND a.INVOICE_TITLE = #{tSalaryEmployee.invoiceTitle}
AND a.INVOICE_TITLE like concat('%',#{tSalaryEmployee.invoiceTitle},'%')
</if>
<if test="tSalaryEmployee.bankProvince != null">
AND a.BANK_PROVINCE = #{tSalaryEmployee.bankProvince}
......
......@@ -140,8 +140,11 @@
AND a.ORDER_ID = #{tSalaryStandard.orderId}
</if>
<if test="tSalaryStandard.deptName != null and tSalaryStandard.deptName.trim() != ''">
AND a.DEPT_NAME = #{tSalaryStandard.deptName}
AND a.DEPT_NAME like concat('%',#{tSalaryStandard.deptName},'%')
</if>
<if test="tSalaryStandard.invoiceTitle != null and tSalaryStandard.invoiceTitle.trim() != ''">
AND a.INVOICE_TITLE like concat('%',#{tSalaryStandard.invoiceTitle},'%')
</if>
<if test="tSalaryStandard.deptNo != null and tSalaryStandard.deptNo.trim() != ''">
AND a.DEPT_NO = #{tSalaryStandard.deptNo}
</if>
......
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