bug修改

This commit is contained in:
方亮 2025-10-24 17:04:59 +08:00
parent d0a048e9b0
commit aa3c652efb
1 changed files with 2 additions and 1 deletions

View File

@ -320,6 +320,7 @@
pw.phone,
bwem.pro_name,
bwem.sub_name,
bwem.team_name,
psc.sub_company_name,
bwem.exit_time,
if(is_upload_file=0,DATEDIFF(NOW(), exit_time),0) as days_since_exit
@ -329,7 +330,7 @@
INNER JOIN pm_worker pw ON bwem.worker_id = pw.id and pw.is_active = 1
INNER JOIN pm_sub_company psc ON pp.sub_com_id = psc.id
<where>
bwem.is_active = 1 and bwem.ein_status = 2 and bwem.is_upload_file = 0
bwem.ein_status = 2 and bwem.is_upload_file = 0
<if test="subComId != null">
AND pp.sub_com_id
</if>