|
|
@ -163,7 +163,8 @@ |
|
|
|
SELECT *, |
|
|
|
expectItureCost + expectTreatCost + expectSuppCost AS expectCost, |
|
|
|
expectItureCost + expectTreatCost + expectSuppCost AS withholdCost, |
|
|
|
onceItureCost + onceTreatCost + onceSuppCost + secondItureCost + secondTreatCost + secondSuppCost AS money |
|
|
|
onceItureCost + onceTreatCost + onceSuppCost + secondItureCost + secondTreatCost + secondSuppCost AS money, |
|
|
|
estimateRebate - IFNULL(uploadMoney,0) - IFNULL(secondaryUploadMoney,0) + IFNULL(adjustmentMoney,0) AS notUploadMoney |
|
|
|
FROM scm_special_rebate |
|
|
|
<where> |
|
|
|
${ew.sqlSegment} |
|
|
@ -174,7 +175,8 @@ |
|
|
|
SELECT *, |
|
|
|
expectItureCost + expectTreatCost + expectSuppCost AS expectCost, |
|
|
|
expectItureCost + expectTreatCost + expectSuppCost AS withholdCost, |
|
|
|
onceItureCost + onceTreatCost + onceSuppCost + secondItureCost + secondTreatCost + secondSuppCost AS money |
|
|
|
onceItureCost + onceTreatCost + onceSuppCost + secondItureCost + secondTreatCost + secondSuppCost AS money, |
|
|
|
estimateRebate - IFNULL(uploadMoney,0) - IFNULL(secondaryUploadMoney,0) + IFNULL(adjustmentMoney,0) AS notUploadMoney |
|
|
|
FROM scm_special_rebate |
|
|
|
<where> |
|
|
|
${ew.sqlSegment} |
|
|
|