fix(report):补充计算功能传递的数据项。
This commit is contained in:
parent
13368eace9
commit
41c4dcea2e
|
@ -188,7 +188,7 @@ func testCalculateReportSummary(c *gin.Context) {
|
|||
}
|
||||
summary.CalculatePrices()
|
||||
calcResults := tools.ConvertStructToMap(summary)
|
||||
result.Json(http.StatusOK, "已完成园区概况的试计算。", gin.H{"result": lo.PickByKeys(calcResults, []string{"overallPrice", "criticalPrice", "peakPrice", "flat", "flatFee", "flatPrice", "valleyPrice"})})
|
||||
result.Json(http.StatusOK, "已完成园区概况的试计算。", gin.H{"result": lo.PickByKeys(calcResults, []string{"overallPrice", "criticalPrice", "peakPrice", "flat", "flatFee", "flatPrice", "valleyPrice", "consumptionFee"})})
|
||||
}
|
||||
|
||||
func progressReportSummary(c *gin.Context) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user