Browse Source

大屏统计

master
lichao 2 years ago
parent
commit
f24875a8f5
  1. 6
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerGridController.java

6
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerGridController.java

@ -316,6 +316,12 @@ public class CustomerGridController {
return new Result<List<OptionResultDTO>>().ok(customerGridService.getGridOption(formDTO.getAgencyId(),formDTO.getPurpose())); return new Result<List<OptionResultDTO>>().ok(customerGridService.getGridOption(formDTO.getAgencyId(),formDTO.getPurpose()));
} }
@PostMapping("screen/gridoption")
public Result<List<OptionResultDTO>> getGridOptionForScreen(@RequestBody GridOptionFormDTO formDTO){
ValidatorUtils.validateEntity(formDTO);
return new Result<List<OptionResultDTO>>().ok(customerGridService.getGridOption(formDTO.getAgencyId(),formDTO.getPurpose()));
}
@GetMapping("getGridIListByAgency/{agencyId}") @GetMapping("getGridIListByAgency/{agencyId}")
public Result<List<CustomerGridDTO>> getGridIListByAgency(@PathVariable("agencyId") String agencyId) { public Result<List<CustomerGridDTO>> getGridIListByAgency(@PathVariable("agencyId") String agencyId) {
List<CustomerGridDTO> resultDTOS = customerGridService.getGridIListByAgency(agencyId); List<CustomerGridDTO> resultDTOS = customerGridService.getGridIListByAgency(agencyId);

Loading…
Cancel
Save