|
|
|
@ -408,6 +408,9 @@ public class SynthesisPlanController {
|
|
|
|
|
@ApiOperation("编辑潜在客户信息/完善客户信息")
|
|
|
|
|
@PostMapping("/updatePotentialCustomer")
|
|
|
|
|
public ResultEntity<HttpStatus> updatePotentialCustomer(@RequestBody SynthesisPlanClient synthesisPlanClient) {
|
|
|
|
|
if (StringUtils.isBlank(synthesisPlanClient.getProposalName())){
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK, "建议书名称不能为空!");
|
|
|
|
|
}
|
|
|
|
|
if(StringUtils.isBlank(synthesisPlanClient.getProposalNumber())){
|
|
|
|
|
String number = "FPR"+IdUtil.simpleUUID();
|
|
|
|
|
synthesisPlanClient.setProposalNumber(number);
|
|
|
|
|