修改首页统计
This commit is contained in:
parent
d6e859a518
commit
8d8a530552
|
|
@ -5,10 +5,10 @@
|
||||||
select
|
select
|
||||||
sum(case when team_id is null then 1 else 0 end ) as dispatchWorkNum
|
sum(case when team_id is null then 1 else 0 end ) as dispatchWorkNum
|
||||||
,sum(case when team_id is not null and process_status is null then 1 else 0 end ) as testNum
|
,sum(case when team_id is not null and process_status is null then 1 else 0 end ) as testNum
|
||||||
,sum(case when process_status='1' and remarks is not null then 1 else 0 end ) as reloadReviewNUm
|
,sum(case when process_status='1' and is_er=0 then 1 else 0 end ) as reloadReviewNUm
|
||||||
,sum(case when process_status='1' and remarks is null then 1 else 0 end ) as reviewNUm
|
,sum(case when process_status='1' and is_er is null and audti_status!='2' then 1 else 0 end ) as reviewNUm
|
||||||
,sum(case when process_status='2' then 1 else 0 end ) as examineNum
|
,sum(case when process_status='2' and audti_status!='2' then 1 else 0 end ) as examineNum
|
||||||
,sum(case when process_status='3' then 1 else 0 end ) as approvalNum
|
,sum(case when process_status='3' and audti_status!='2' then 1 else 0 end ) as approvalNum
|
||||||
,DATE_FORMAT(NOW(), '%Y-%m-%d') as updateDate
|
,DATE_FORMAT(NOW(), '%Y-%m-%d') as updateDate
|
||||||
from (
|
from (
|
||||||
select * from tb_sample where del_flag='0'
|
select * from tb_sample where del_flag='0'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue