Commit 4eb3c0a0 authored by fangxinjiang's avatar fangxinjiang

日志优化

parent 311bad6d
...@@ -447,35 +447,35 @@ ...@@ -447,35 +447,35 @@
AND a.CONTACT_ADDRESS = #{tEmployeeInfo.contactAddress} AND a.CONTACT_ADDRESS = #{tEmployeeInfo.contactAddress}
</if> </if>
<if test="tEmployeeInfo.empNatureArray != null"> <if test="tEmployeeInfo.empNatureArray != null and tEmployeeInfo.empNatureArray.length > 0">
AND a.EMP_NATRUE in AND a.EMP_NATRUE in
<foreach item="idStr" index="index" collection="tEmployeeInfo.empNatureArray" open="(" separator="," <foreach item="idStr" index="index" collection="tEmployeeInfo.empNatureArray" open="(" separator=","
close=")"> close=")">
#{idStr} #{idStr}
</foreach> </foreach>
</if> </if>
<if test="tEmployeeInfo.contractStatusArray != null"> <if test="tEmployeeInfo.contractStatusArray != null and tEmployeeInfo.contractStatusArray.length > 0">
AND a.CONTRACT_STATUS in AND a.CONTRACT_STATUS in
<foreach item="idStr" index="index" collection="tEmployeeInfo.contractStatusArray" open="(" <foreach item="idStr" index="index" collection="tEmployeeInfo.contractStatusArray" open="("
separator="," close=")"> separator="," close=")">
#{idStr} #{idStr}
</foreach> </foreach>
</if> </if>
<if test="tEmployeeInfo.insuranceStatusArray != null"> <if test="tEmployeeInfo.insuranceStatusArray != null and tEmployeeInfo.insuranceStatusArray.length > 0">
AND a.INSURANCE_STATUS in AND a.INSURANCE_STATUS in
<foreach item="idStr" index="index" collection="tEmployeeInfo.insuranceStatusArray" open="(" <foreach item="idStr" index="index" collection="tEmployeeInfo.insuranceStatusArray" open="("
separator="," close=")"> separator="," close=")">
#{idStr} #{idStr}
</foreach> </foreach>
</if> </if>
<if test="tEmployeeInfo.socialStatusArray != null"> <if test="tEmployeeInfo.socialStatusArray != null and tEmployeeInfo.socialStatusArray.length > 0">
AND a.SOCIAL_STATUS in AND a.SOCIAL_STATUS in
<foreach item="idStr" index="index" collection="tEmployeeInfo.socialStatusArray" open="(" <foreach item="idStr" index="index" collection="tEmployeeInfo.socialStatusArray" open="("
separator="," close=")"> separator="," close=")">
#{idStr} #{idStr}
</foreach> </foreach>
</if> </if>
<if test="tEmployeeInfo.fundStatusArray != null"> <if test="tEmployeeInfo.fundStatusArray != null and tEmployeeInfo.fundStatusArray.length > 0">
AND a.FUND_STATUS in AND a.FUND_STATUS in
<foreach item="idStr" index="index" collection="tEmployeeInfo.fundStatusArray" open="(" <foreach item="idStr" index="index" collection="tEmployeeInfo.fundStatusArray" open="("
separator="," close=")"> separator="," close=")">
......
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