Commit 99e50344 authored by fangxinjiang's avatar fangxinjiang

商险修复BUG

parent aeb61563
...@@ -1201,11 +1201,14 @@ ...@@ -1201,11 +1201,14 @@
FROM FROM
t_insurance_detail t_insurance_detail
where where
DELETE_FLAG = 0 AND EMP_IDCARD_NO in DELETE_FLAG = 0
<if test="idCardList != null and idCardList.size > 0">
AND EMP_IDCARD_NO in
<foreach item="item" index="index" collection="idCardList" open="(" separator="," close=")"> <foreach item="item" index="index" collection="idCardList" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
<if test="idList != null"> </if>
<if test="idList != null and idList.size > 0">
AND id not in AND id not in
<foreach item="item" index="index" collection="idList" open="(" separator="," close=")"> <foreach item="item" index="index" collection="idList" open="(" separator="," close=")">
#{item} #{item}
......
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