Commit b597f21f authored by fangxinjiang's avatar fangxinjiang

代码优化--查询在途公积金不用关联派单-fxj

parent f3e2b21e
......@@ -1339,7 +1339,6 @@
<select id="selectFundCountByEmpIdcard" resultType="java.lang.Long">
SELECT count(1)
FROM t_social_fund_info a
inner join t_dispatch_info d on a.DISPATCH_ID = d.ID
where a.EMP_IDCARD = #{empIdcard}
<!-- 公积金状态:派增(0待审核、1待办理、3办理成功、4办理失败9 审核不通过)、派减(5待审核 6待办理 7 办理成功 8 办理失败 ) -->
and a.fund_status in ('0', '1', '3', '5', '6', '8')
......
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