‘linchangsheng’ 10 月之前
父節點
當前提交
f327bfeb4a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mall-server-api/src/main/resources/mapper/workorder/OrderBaseCMapper.xml

+ 1 - 1
mall-server-api/src/main/resources/mapper/workorder/OrderBaseCMapper.xml

@@ -114,7 +114,7 @@
             count(if(order_status in ('DJD'),1,null)) as 'djs',
             count(if(order_status in ('DQD'),1,null)) as 'dqd',
             count(if(order_status in ('FWZ'),1,null)) as 'fwz',
-            count(if(order_status in ('DYY'),1,null)) as 'dyy',
+            count(if(appointment_time is null and a.order_status in('DYY','DSHPG','DWDPG','DJD'),1,null)) as 'dyy',
             count(if(is_exception = 1,1,null)) as 'ycdcl',
             count(if(appraise_status in ('C'),1,null)) as 'cp'
         from pg_order_base a