|
@@ -143,9 +143,9 @@ public class AppPageReportController {
|
|
|
return new AjaxMessage<>(ResultStatus.OK,map);
|
|
|
}
|
|
|
|
|
|
- @RequestMapping(value = "getLast12YearComparison",method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "getComparisonForLast12Month",method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "App总览——生产数据-取水环比、供水环比、售水环比(近一年)")
|
|
|
- public AjaxMessage<Object> getLast12YearComparison(@ApiParam(value = "公司id,总公司传空值") @RequestParam(required = false) Integer companyOrgId){
|
|
|
+ public AjaxMessage<Object> getComparisonForLast12Month(@ApiParam(value = "公司id,总公司传空值") @RequestParam(required = false) Integer companyOrgId){
|
|
|
LocalDate now = LocalDate.now();
|
|
|
LocalDate last = now.minusMonths(11);
|
|
|
|