zhoux 1 год назад
Родитель
Сommit
8c1cae61e7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/java/com/dk/mdm/mapper/report/ReportMapper.xml

+ 1 - 1
src/main/java/com/dk/mdm/mapper/report/ReportMapper.xml

@@ -3319,7 +3319,7 @@
     </select>
 
     <sql id="getSaleProfitInOutBound">
-        sum(coalesce(tpoi.fact_amt, 0) - coalesce(tpoi.return_amt, 0)) outbound,
+        sum(coalesce(tpoi.fact_amt, 0)) outbound,
         sum(coalesce(tpoi.cost_amt, 0)) inbound
     </sql>