forked from free-lancers/electricity_bill_calc_service
		
	fix(report):补充计算功能传递的数据项。
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user