newPartnerId

This commit is contained in:
苏竹红
2023-07-04 16:18:34 +08:00
parent a380819e9e
commit cbd0631853

View File

@@ -188,8 +188,10 @@ public class HyPartnerBaseInfoServiceImpl implements HyPartnerBaseInfoService {
// 该身份证当前申请状态同步至该账号下,原账号变为【加盟意向申请 待提交状态】 // 该身份证当前申请状态同步至该账号下,原账号变为【加盟意向申请 待提交状态】
HyPartnerLineInfoDO newLineInfo = hyPartnerLineInfoDAO.selectByPrimaryKeySelective(lineId); HyPartnerLineInfoDO newLineInfo = hyPartnerLineInfoDAO.selectByPrimaryKeySelective(lineId);
Long newLindId = newLineInfo.getId(); Long newLindId = newLineInfo.getId();
String newPartnerId = newLineInfo.getPartnerId();
BeanUtil.copyProperties(oldLineInfo,newLineInfo); BeanUtil.copyProperties(oldLineInfo,newLineInfo);
newLineInfo.setId(newLindId); newLineInfo.setId(newLindId);
newLineInfo.setPartnerId(newPartnerId);
hyPartnerLineInfoDAO.updateByPrimaryKeySelective(newLineInfo); hyPartnerLineInfoDAO.updateByPrimaryKeySelective(newLineInfo);
oldLineInfo.setWorkflowStage(WorkflowStageEnum.INTENT.getCode()); oldLineInfo.setWorkflowStage(WorkflowStageEnum.INTENT.getCode());
oldLineInfo.setWorkflowStatus(WorkflowStatusEnum.INTENT_0.getCode()); oldLineInfo.setWorkflowStatus(WorkflowStatusEnum.INTENT_0.getCode());