Преглед на файлове

已完成统计:去掉 主动取消的数量

lilt085163@126.com преди 3 години
родител
ревизия
2b0027747c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/resources/mybatis/CareEventOrderMapper.xml

+ 1 - 1
src/main/resources/mybatis/CareEventOrderMapper.xml

@@ -7,7 +7,7 @@
             count(1) as allCount,
             count(if(status='0',1,null)) as notDoCount,
             count(if(status='1',1,null)) as doingCount,
-            count(if(status='2',1,null))+count(if(status='3',1,null))+count(if(status='4',1,null)) as doneCount,
+            count(if(status='2',1,null))+count(if(status='4',1,null)) as doneCount,
             count(if(status='3',1,null)) as cancelCount
         from care_event_order
         <where>