|
|
@ -16,7 +16,7 @@ |
|
|
|
SUM(IF(ssc.onceCheckState = 1, ssc.secondaryUploadMoney, |
|
|
|
ssc.uploadMoney + ssc.secondaryUploadMoney)) uploadMoney, |
|
|
|
SUM(IF(ssc.onceCheckState = 1, 0, ssc.stayDetermineMoney)) stayDetermineMoney, |
|
|
|
SUM(ssc.adjustmentMoney) adjustmentMoney, |
|
|
|
SUM(CAST(ssc.adjustmentMoney AS DECIMAL(10, 2))) adjustmentMoney, |
|
|
|
SUM(ssc.expectItureCost + ssc.expectTreatCost + ssc.expectSuppCost) AS withholdCost, |
|
|
|
SUM(IF(ssc.onceCheckState = 1, ssc.secondItureCost + ssc.secondTreatCost + ssc.secondSuppCost, |
|
|
|
ssc.onceItureCost + ssc.onceTreatCost + ssc.onceSuppCost + ssc.secondItureCost + |
|
|
@ -41,7 +41,7 @@ |
|
|
|
SUM(IF(ssc.onceCheckState = 1, ssc.secondaryUploadMoney, |
|
|
|
ssc.uploadMoney + ssc.secondaryUploadMoney)) uploadMoney, |
|
|
|
SUM(IF(ssc.onceCheckState = 1, 0, ssc.stayDetermineMoney)) stayDetermineMoney, |
|
|
|
SUM(ssc.adjustmentMoney) adjustmentMoney, |
|
|
|
SUM(CAST(ssc.adjustmentMoney AS DECIMAL(10, 2))) adjustmentMoney, |
|
|
|
SUM(ssc.expectItureCost + ssc.expectTreatCost + ssc.expectSuppCost) AS withholdCost, |
|
|
|
SUM(IF(ssc.onceCheckState = 1, ssc.secondItureCost + ssc.secondTreatCost + ssc.secondSuppCost, |
|
|
|
ssc.onceItureCost + ssc.onceTreatCost + ssc.onceSuppCost + ssc.secondItureCost + |
|
|
@ -84,7 +84,7 @@ |
|
|
|
ssc.onceItureCost + ssc.onceTreatCost + ssc.onceSuppCost + ssc.secondItureCost + |
|
|
|
ssc.secondTreatCost + ssc.secondSuppCost)) AS moneyTotal, |
|
|
|
SUM(IF(ssc.onceCheckState = 1, 0, ssc.stayDetermineMoney)) stayDetermineMoneyTotal, |
|
|
|
SUM(ssc.adjustmentMoney) adjustmentMoneyTotal, |
|
|
|
SUM(CAST(ssc.adjustmentMoney AS DECIMAL(10, 2))) adjustmentMoneyTotal, |
|
|
|
SUM(IF(ssc.isAdjustment = '是', |
|
|
|
ssc.onceItureCost + ssc.onceTreatCost + ssc.onceSuppCost + ssc.secondItureCost + |
|
|
|
ssc.secondTreatCost + ssc.secondSuppCost - ssc.expectItureCost - ssc.expectTreatCost - |
|
|
@ -108,7 +108,7 @@ |
|
|
|
ssc.onceItureCost + ssc.onceTreatCost + ssc.onceSuppCost + ssc.secondItureCost + |
|
|
|
ssc.secondTreatCost + ssc.secondSuppCost)) AS money, |
|
|
|
SUM(IF(ssc.onceCheckState = 1, 0, ssc.stayDetermineMoney)) stayDetermineMoney, |
|
|
|
SUM(ssc.adjustmentMoney) adjustmentMoney, |
|
|
|
SUM(CAST(ssc.adjustmentMoney AS DECIMAL(10, 2))) adjustmentMoney, |
|
|
|
SUM(IF(ssc.isAdjustment = '是', |
|
|
|
ssc.onceItureCost + ssc.onceTreatCost + ssc.onceSuppCost + ssc.secondItureCost + |
|
|
|
ssc.secondTreatCost + ssc.secondSuppCost - ssc.expectItureCost - ssc.expectTreatCost - |
|
|
@ -134,7 +134,7 @@ |
|
|
|
ssc.onceItureCost + ssc.onceTreatCost + ssc.onceSuppCost + ssc.secondItureCost + |
|
|
|
ssc.secondTreatCost + ssc.secondSuppCost)) AS money, |
|
|
|
SUM(IF(ssc.onceCheckState = 1, 0, ssc.stayDetermineMoney)) stayDetermineMoney, |
|
|
|
SUM(ssc.adjustmentMoney) adjustmentMoney, |
|
|
|
SUM(CAST(ssc.adjustmentMoney AS DECIMAL(10, 2))) adjustmentMoney, |
|
|
|
SUM(IF(ssc.isAdjustment = '是', |
|
|
|
ssc.onceItureCost + ssc.onceTreatCost + ssc.onceSuppCost + ssc.secondItureCost + |
|
|
|
ssc.secondTreatCost + ssc.secondSuppCost - ssc.expectItureCost - ssc.expectTreatCost - |
|
|
|