|
@ -3,7 +3,6 @@ package com.epmet.controller; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
import com.epmet.dto.form.CrmParameterFormDTO; |
|
|
import com.epmet.dto.form.CrmParameterFormDTO; |
|
|
import com.epmet.dto.form.ParameterFormDTO; |
|
|
|
|
|
import com.epmet.dto.result.CrmParameterResultDTO; |
|
|
import com.epmet.dto.result.CrmParameterResultDTO; |
|
|
import com.epmet.service.CustomerParameterService; |
|
|
import com.epmet.service.CustomerParameterService; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
@ -39,4 +38,16 @@ public class CustomerParameterController { |
|
|
return new Result<List<CrmParameterResultDTO>>().ok(parameterService.selectParamInfo(formDTOs)); |
|
|
return new Result<List<CrmParameterResultDTO>>().ok(parameterService.selectParamInfo(formDTOs)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @Description 更新客户配置信息 |
|
|
|
|
|
* @Param formDTOS |
|
|
|
|
|
* @author zxc |
|
|
|
|
|
* @date 2021/1/4 下午4:23 |
|
|
|
|
|
*/ |
|
|
|
|
|
@PostMapping("parameterupdate") |
|
|
|
|
|
public Result updateParamInfo(@RequestBody List<CrmParameterResultDTO> formDTOS){ |
|
|
|
|
|
parameterService.updateParamInfo(formDTOS); |
|
|
|
|
|
return new Result(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|