ソースを参照

1、车辆运单统计调整;

zk 2 年 前
コミット
c65f2fbb51

+ 2 - 2
sckw-modules/sckw-transport/src/main/java/com/sckw/transport/model/vo/WaybillCountVo.java

@@ -42,12 +42,12 @@ public class WaybillCountVo {
     private Date unloadTime;
 
     /**
-     * 运单完成量
+     * 运单完成(审核通过的运单)
      */
     private Integer totalComplete;
 
     /**
-     * 运单接单量
+     * 运单接单
      */
     private Integer totalTake;
 

+ 1 - 1
sckw-modules/sckw-transport/src/main/resources/mapper/KwtWaybillOrderMapper.xml

@@ -150,7 +150,7 @@
     <select id="findWaybillOrderCount" resultType="com.sckw.transport.model.vo.WaybillCountVo"
             parameterType="java.util.Map">
         SELECT
-        count(case when wo.status not in (1, 9, 11) then 1 end) totalComplete,
+        count(case when wo.status = 8 then 1 end) totalComplete,
         count(case when wo.status not in (1, 9, 10, 11) then 1 end) totalTake,
         count(case when wo.status not in (3, 4, 5, 6) then 1 end) totalExecute,
         count(DISTINCT case when lo.status not in (0, 1, 2, 3) then lo.id end) totalUnfinished,