bug修复

This commit is contained in:
马三炮 2025-11-04 15:58:27 +08:00
parent 8320d97e12
commit aca597c3a0
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
bwem.sub_id subId,bwem.sub_name subName,bwem.post_id postId,bwem.contract_id,bwc.day_rate dailyWage
from bm_worker_ein_msg bwem
left join pm_worker pw on pw.id=bwem.worker_id
LEFT JOIN bm_worker_contract bwc on bwc.worker_id=bwem.worker_id and bwc.is_active=1
LEFT JOIN bm_worker_contract bwc on bwc.worker_id=bwem.worker_id and bwc.is_active=1 and bwem.pro_id = bwc.pro_id
where bwem.worker_id=#{userId} and bwem.pro_id=#{proId}
</select>
<select id="getTodayIsExit" resultType="java.lang.Integer">