|
|
@ -79,7 +79,7 @@ public class GridController { |
|
|
|
**/ |
|
|
|
@PostMapping("gridlist") |
|
|
|
public Result<GridListInfoResultDTO> gridList(@LoginUser TokenDto tokenDto,@RequestBody CommonAgencyIdFormDTO agencyFormDTO){ |
|
|
|
agencyFormDTO.setAgencyId(tokenDto.getUserId()); |
|
|
|
agencyFormDTO.setUserId(tokenDto.getUserId()); |
|
|
|
ValidatorUtils.validateEntity(agencyFormDTO); |
|
|
|
return customerGridService.getGridListByAgency(agencyFormDTO); |
|
|
|
} |
|
|
@ -93,7 +93,7 @@ public class GridController { |
|
|
|
**/ |
|
|
|
@PostMapping("allgrids") |
|
|
|
public Result<List<GridBaseInfoResultDTO>> allGrids(@LoginUser TokenDto tokenDto, @RequestBody CommonAgencyIdFormDTO agencyFormDTO){ |
|
|
|
agencyFormDTO.setAgencyId(tokenDto.getUserId()); |
|
|
|
agencyFormDTO.setUserId(tokenDto.getUserId()); |
|
|
|
ValidatorUtils.validateEntity(agencyFormDTO); |
|
|
|
return customerGridService.getAllGridsByAgency(agencyFormDTO); |
|
|
|
} |
|
|
|