Commit d08b98c4 by Water Wang

optimize

parent ad54283c
...@@ -467,13 +467,12 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service. ...@@ -467,13 +467,12 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
aclPractitionerPotentialDALService.update(practitionerPotential); aclPractitionerPotentialDALService.update(practitionerPotential);
}else{ }else{
aclPractitionerPotentialDALService.save(practitionerPotential); aclPractitionerPotentialDALService.save(practitionerPotential);
}
potentialId = practitionerPotential.getId(); potentialId = practitionerPotential.getId();
//如果已经分配团队长,则在追踪表中增加记录 //如果已经分配团队长,则在追踪表中增加记录
List<Long> practitionerPotentialIdList = new ArrayList<>(); List<Long> practitionerPotentialIdList = new ArrayList<>();
practitionerPotentialIdList.add(potentialId); practitionerPotentialIdList.add(potentialId);
addPractitionerPotentialTrack(practitionerPotentialIdList, practitionerId); addPractitionerPotentialTrack(practitionerPotentialIdList, practitionerId);
}
responseVO.setPotentialCustomerId(customerId); responseVO.setPotentialCustomerId(customerId);
responseVO.setPotentialId(potentialId); responseVO.setPotentialId(potentialId);
responseVO.setCommonResult(new CommonResult(true,ZHBErrorConfig.getErrorInfo("800000"))); responseVO.setCommonResult(new CommonResult(true,ZHBErrorConfig.getErrorInfo("800000")));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment