This commit is contained in:
parent
65a41635e2
commit
c50f9d7556
|
|
@ -287,8 +287,7 @@
|
||||||
bap.team_name,
|
bap.team_name,
|
||||||
bwepr.post_name,
|
bwepr.post_name,
|
||||||
count(DISTINCT bap.id) AS attNumHis,
|
count(DISTINCT bap.id) AS attNumHis,
|
||||||
count(DISTINCT IF(bap.is_repair = 1, bap.id, null)) AS repairNumHis,
|
count(DISTINCT IF(bap.is_repair = 1, bap.id, null)) AS repairNumHis
|
||||||
bap.worker_id as workerId
|
|
||||||
FROM
|
FROM
|
||||||
bm_att_person bap
|
bm_att_person bap
|
||||||
INNER JOIN pm_worker pw ON pw.id = bap.worker_id
|
INNER JOIN pm_worker pw ON pw.id = bap.worker_id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue