bug修复
This commit is contained in:
parent
8320d97e12
commit
aca597c3a0
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue