|
|
@ -316,6 +316,12 @@ public class CustomerGridController { |
|
|
|
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}") |
|
|
|
public Result<List<CustomerGridDTO>> getGridIListByAgency(@PathVariable("agencyId") String agencyId) { |
|
|
|
List<CustomerGridDTO> resultDTOS = customerGridService.getGridIListByAgency(agencyId); |
|
|
|