Commit 7efe5cc2 authored by huyuchen's avatar huyuchen

huych-社保公积金自动化带出数据逻辑修改

parent 39399e53
......@@ -1268,7 +1268,7 @@
where a.EMP_IDCARD = #{empIdcard} and d.DELETE_FLAG = '0' and d.type = '0' and d.SOCIAL_ID is not null
<!-- 社保状态:派增(0待审核、1待办理、2办理中 3办理成功、4部分办理失败 5 办理失败 10 审核不通过)、派减(6待审核 7待办理 8办理成功 9 办理失败 11派减办理中 12 派减部分办理失败) -->
and a.social_status in ('0', '1', '2', '3', '4', '6', '7', '9', '11', '12')
<if test="type != null and type = '1'">
<if test="type != null and type != '' and type == 1">
and d.create_name not like '自动化%'
</if>
group by a.ID
......@@ -1295,7 +1295,7 @@
where a.EMP_IDCARD = #{empIdcard} and d.DELETE_FLAG = '0' and d.type = '0' and d.FUND_ID is not null
<!-- 派增(0待审核、1待办理、3办理成功、4办理失败9 审核不通过)、派减(5待审核 6待办理 7 办理成功 8 办理失败 ) -->
and a.fund_status in ('0', '1', '3', '5', '6', '8')
<if test="type != null and type = '1'">
<if test="type != null and type != '' and type == 1">
and d.create_name not like '自动化%'
</if>
group by a.ID
......
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