Commit 754bd1d1 authored by hongguangwu's avatar hongguangwu

MVP1.5.2-单个派单

parent 6e103eca
......@@ -796,7 +796,11 @@
count(1)
from t_employee_contract_info e
where e.EMP_IDCARD = #{empIdCard} and e.SETTLE_DOMAIN = #{deptId}
and e.DELETE_FLAG = '0' and e.IS_OBSOLETE = '0'
and e.situation !='作废' and e.situation !='终止' and e.AUDIT_STATUS != 3
and e.DELETE_FLAG = '0'
AND (
( x.AUDIT_STATUS = '2' AND x.IN_USE = '0' )
OR
( x.AUDIT_STATUS = '1' AND x.IN_USE = '1' )
)
</select>
</mapper>
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