|
@ -260,7 +260,8 @@ public class IcPartyUnitController { |
|
|
* @date 2022/5/18 16:42 |
|
|
* @date 2022/5/18 16:42 |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("/statistics/typepercent") |
|
|
@PostMapping("/statistics/typepercent") |
|
|
public Result<List<PartyTypepercentResultDTO>> getTypepercent(@RequestBody PartyTypepercentFormDTO form) { |
|
|
public Result<List<PartyTypepercentResultDTO>> getTypepercent(@RequestBody PartyTypepercentFormDTO form,@LoginUser TokenDto tokenDto) { |
|
|
|
|
|
form.setCustomerId(tokenDto.getCustomerId()); |
|
|
ValidatorUtils.validateEntity(form); |
|
|
ValidatorUtils.validateEntity(form); |
|
|
List<PartyTypepercentResultDTO> dto = icPartyUnitService.getTypepercent(form); |
|
|
List<PartyTypepercentResultDTO> dto = icPartyUnitService.getTypepercent(form); |
|
|
return new Result<List<PartyTypepercentResultDTO>>().ok(dto); |
|
|
return new Result<List<PartyTypepercentResultDTO>>().ok(dto); |
|
|