|
|
@ -114,9 +114,6 @@ public class IcFormController { |
|
|
|
if (StringUtils.isBlank(formDto.getCustomerId())){ |
|
|
|
formDto.setCustomerId(customerId); |
|
|
|
} |
|
|
|
if (formDto.getDynamic() == null){ |
|
|
|
formDto.setDynamic(true); |
|
|
|
} |
|
|
|
ValidatorUtils.validateEntity(formDto,CustomerFormQueryDTO.AddUserInternalGroup.class); |
|
|
|
return new Result<CustomerFormResultDTO>().ok(icFormService.getCustomerForm(formDto)); |
|
|
|
} |
|
|
@ -134,9 +131,6 @@ public class IcFormController { |
|
|
|
@PostMapping("conditionlist") |
|
|
|
public Result<List<ConditionResultDTO>> queryConditionList(@LoginUser TokenDto tokenDto, @RequestBody CustomerFormQueryDTO formDto){ |
|
|
|
formDto.setCustomerId(tokenDto.getCustomerId()); |
|
|
|
if (formDto.getDynamic() == null){ |
|
|
|
formDto.setDynamic(true); |
|
|
|
} |
|
|
|
ValidatorUtils.validateEntity(formDto,CustomerFormQueryDTO.AddUserInternalGroup.class); |
|
|
|
return new Result<List<ConditionResultDTO>>().ok(icFormItemService.queryConditionList(formDto)); |
|
|
|
} |
|
|
|