|
@@ -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>
|
|
|
|
|
|