Commit db7cfa92 authored by hongguangwu's avatar hongguangwu

MVP1.6.7-薪资

parent 42ec0595
......@@ -1488,7 +1488,7 @@
<!-- C端预入职查询薪资当前年度是否有发薪记录,无则返回空,有则返回Id -->
<select id="getAccountIdByIdCard" resultType="java.lang.Integer">
select count(1) from t_salary_account a where a.EMP_IDCARD = #{empIdCard} and a.SETTLEMENT_MONTH like concat(DATE_FORMAT(NOW(), '%Y'), '%')
select count(1) from t_salary_account a where a.DELETE_FLAG = 0 and a.EMP_IDCARD = #{empIdCard} and a.SETTLEMENT_MONTH like concat(DATE_FORMAT(NOW(), '%Y'), '%')
</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