bug修复
This commit is contained in:
parent
241ec43730
commit
77c3923827
|
|
@ -243,8 +243,8 @@
|
|||
bap.team_id,
|
||||
bap.team_name,
|
||||
bwepr.post_name,
|
||||
count(bap.worker_id) AS attNumHis,
|
||||
sum(IF(bap.is_repair = 1, 1, 0)) AS repairNumHis
|
||||
count( DISTINCT bap.worker_id) AS attNumHis,
|
||||
sum(DISTINCT IF(bap.is_repair = 1, 1, 0)) AS repairNumHis
|
||||
FROM
|
||||
bm_att_person bap
|
||||
INNER JOIN pm_worker pw ON pw.id = bap.worker_id
|
||||
|
|
|
|||
Loading…
Reference in New Issue