ソースを参照

1、修改利润表查询

zhoux 1 年間 前
コミット
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>
     </select>
 
 
     <sql id="getSaleProfitInOutBound">
     <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
         sum(coalesce(tpoi.cost_amt, 0)) inbound
     </sql>
     </sql>