Commit 35167683 authored by huyuchen's avatar huyuchen

列表项目名称字段改成模糊查询

parent 91d07586
...@@ -239,10 +239,10 @@ ...@@ -239,10 +239,10 @@
AND a.CONTRACT_END = #{tEmployeeContractInfo.contractEnd} AND a.CONTRACT_END = #{tEmployeeContractInfo.contractEnd}
</if> </if>
<if test="tEmployeeContractInfo.subjectDepart != null and tEmployeeContractInfo.subjectDepart.trim() != ''"> <if test="tEmployeeContractInfo.subjectDepart != null and tEmployeeContractInfo.subjectDepart.trim() != ''">
AND a.SUBJECT_DEPART = #{tEmployeeContractInfo.subjectDepart} AND a.SUBJECT_DEPART like concat('%',#{tEmployeeContractInfo.subjectDepart},'%')
</if> </if>
<if test="tEmployeeContractInfo.subjectUnit != null and tEmployeeContractInfo.subjectUnit.trim() != ''"> <if test="tEmployeeContractInfo.subjectUnit != null and tEmployeeContractInfo.subjectUnit.trim() != ''">
AND a.SUBJECT_UNIT = #{tEmployeeContractInfo.subjectUnit} AND a.SUBJECT_UNIT like concat('%',#{tEmployeeContractInfo.subjectUnit},'%')
</if> </if>
<if test="tEmployeeContractInfo.situation != null and tEmployeeContractInfo.situation.trim() != ''"> <if test="tEmployeeContractInfo.situation != null and tEmployeeContractInfo.situation.trim() != ''">
AND a.SITUATION = #{tEmployeeContractInfo.situation} AND a.SITUATION = #{tEmployeeContractInfo.situation}
...@@ -374,7 +374,7 @@ ...@@ -374,7 +374,7 @@
AND a.EMP_NATRUE = #{tEmployeeContractInfo.empNatrue} AND a.EMP_NATRUE = #{tEmployeeContractInfo.empNatrue}
</if> </if>
<if test="tEmployeeContractInfo.contractParty != null and tEmployeeContractInfo.contractParty.trim() != ''"> <if test="tEmployeeContractInfo.contractParty != null and tEmployeeContractInfo.contractParty.trim() != ''">
AND a.CONTRACT_PARTY = #{tEmployeeContractInfo.contractParty} AND a.CONTRACT_PARTY like concat('%',#{tEmployeeContractInfo.contractParty},'%')
</if> </if>
<if test="tEmployeeContractInfo.contractSubName != null and tEmployeeContractInfo.contractSubName.trim() != ''"> <if test="tEmployeeContractInfo.contractSubName != null and tEmployeeContractInfo.contractSubName.trim() != ''">
AND a.CONTRACT_SUB_NAME = #{tEmployeeContractInfo.contractSubName} AND a.CONTRACT_SUB_NAME = #{tEmployeeContractInfo.contractSubName}
......
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