|
|
@ -180,16 +180,15 @@ public class IcFormController { |
|
|
|
/** |
|
|
|
* @description item列表 |
|
|
|
* |
|
|
|
* @param tokenDto |
|
|
|
* @param formDto |
|
|
|
* @return |
|
|
|
* @author wxz |
|
|
|
* @date 2021.10.28 15:19:59 |
|
|
|
*/ |
|
|
|
@PostMapping("items") |
|
|
|
public Result<List<FormItemResult>> listItems(@LoginUser TokenDto tokenDto, @RequestBody CustomerFormQueryDTO formDto) { |
|
|
|
public Result<List<FormItemResult>> listItems(@RequestBody CustomerFormQueryDTO formDto) { |
|
|
|
ValidatorUtils.validateEntity(formDto, CustomerFormQueryDTO.GetFormInfoGroup.class); |
|
|
|
List<FormItemResult> rst = icFormService.listItems(tokenDto.getCustomerId(), formDto.getFormCode()); |
|
|
|
List<FormItemResult> rst = icFormService.listItems(formDto.getCustomerId(), formDto.getFormCode()); |
|
|
|
return new Result<List<FormItemResult>>().ok(rst); |
|
|
|
} |
|
|
|
} |
|
|
|