Commit 5b22d562 authored by huyuchen's avatar huyuchen

huych-电子档案批量导入第五次提交

parent 316dab3d
......@@ -649,11 +649,12 @@
a.INSURANCE_CITY_NAME as insuranceCityName
from
t_insurance_detail a
left join t_employee_insurance_pre b on a.id = b.insurances_id
where
a.DELETE_FLAG = 0
and (a.BUY_HANDLE_STATUS in (1,2) or (a.BUY_HANDLE_STATUS = 3 and a.IS_EFFECT = 0 and a.IS_OVERDUE = 0))
AND EMP_IDCARD_NO = #{empIdCard}
and a.create_name not like '自动化%'
AND EMP_IDCARD_NO = #{empIdCard} and b.id is null
group by a.id
</select>
<!-- ***********************减员办理******************************** -->
......
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