|
|
@ -240,6 +240,7 @@ public class IcPartyActController { |
|
|
|
|
|
|
|
@PostMapping("yearSearch") |
|
|
|
public Result<List<YearSearchDetailResultDTO>> yearSearch(@LoginUser TokenDto tokenDto, @RequestBody YearSearchFormDTO formDTO){ |
|
|
|
ValidatorUtils.validateEntity(formDTO, YearSearchFormDTO.YearSearchForm.class); |
|
|
|
formDTO.setStaffId(tokenDto.getUserId()); |
|
|
|
formDTO.setCustomerId(tokenDto.getCustomerId()); |
|
|
|
return new Result<List<YearSearchDetailResultDTO>>().ok(icPartyActService.yearSearch(formDTO)); |
|
|
|