|
@@ -1794,7 +1794,7 @@ func CentralKitchenForSchoolDataStatisticsExport(req md.CentralKitchenForSchoolD |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
realityAmount := utils.StrToFloat64(income) - utils.StrToFloat64(refund) |
|
|
realityAmount := utils.StrToFloat64(income) - utils.StrToFloat64(refund) |
|
|
rateFee := realityAmount * 0.0038 |
|
|
|
|
|
|
|
|
rateFee := realityAmount * 0.0002 |
|
|
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{v.Name, income, refund, realityAmount, rateFee}) |
|
|
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{v.Name, income, refund, realityAmount, rateFee}) |
|
|
incomeTotal += utils.StrToFloat64(income) |
|
|
incomeTotal += utils.StrToFloat64(income) |
|
|
refundTotal += utils.StrToFloat64(refund) |
|
|
refundTotal += utils.StrToFloat64(refund) |
|
|