liyg 1 年之前
父节点
当前提交
2e27fae2de
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/com/steerinfo/dil/mapper/StatisticalReportMapper.xml

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/StatisticalReportMapper.xml

@@ -4786,7 +4786,7 @@
         RC.CARRIER_ABBREVIATION
         end "carrierName",--承运商
         SUM(CASE WHEN
-            ASO.SALE_TYPE = 1
+            ASO.SALE_TYPE = 1 AND ASM .WEIGHT_BATCH_ID IS NULL
             THEN
             TWR.RESULT_NET_WEIGHT
             ELSE 0