Commit 863ee249 authored by huyuchen's avatar huyuchen

sheet名优化

parent abd2aaf2
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
AND a.DEPT_ID = #{tSalaryEmployee.deptId} AND a.DEPT_ID = #{tSalaryEmployee.deptId}
</if> </if>
<if test="tSalaryEmployee.deptName != null and tSalaryEmployee.deptName.trim() != ''"> <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>
<if test="tSalaryEmployee.deptNo != null and tSalaryEmployee.deptNo.trim() != ''"> <if test="tSalaryEmployee.deptNo != null and tSalaryEmployee.deptNo.trim() != ''">
AND a.DEPT_NO = #{tSalaryEmployee.deptNo} AND a.DEPT_NO = #{tSalaryEmployee.deptNo}
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
AND a.BANK_NO = #{tSalaryEmployee.bankNo} AND a.BANK_NO = #{tSalaryEmployee.bankNo}
</if> </if>
<if test="tSalaryEmployee.invoiceTitle != null and tSalaryEmployee.invoiceTitle.trim() != ''"> <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>
<if test="tSalaryEmployee.bankProvince != null"> <if test="tSalaryEmployee.bankProvince != null">
AND a.BANK_PROVINCE = #{tSalaryEmployee.bankProvince} AND a.BANK_PROVINCE = #{tSalaryEmployee.bankProvince}
......
...@@ -140,7 +140,10 @@ ...@@ -140,7 +140,10 @@
AND a.ORDER_ID = #{tSalaryStandard.orderId} AND a.ORDER_ID = #{tSalaryStandard.orderId}
</if> </if>
<if test="tSalaryStandard.deptName != null and tSalaryStandard.deptName.trim() != ''"> <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>
<if test="tSalaryStandard.deptNo != null and tSalaryStandard.deptNo.trim() != ''"> <if test="tSalaryStandard.deptNo != null and tSalaryStandard.deptNo.trim() != ''">
AND a.DEPT_NO = #{tSalaryStandard.deptNo} AND a.DEPT_NO = #{tSalaryStandard.deptNo}
......
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