Commit 99daadff by jianan

电子報聘审批通过,写入经纪人表时creater,updater应写userid

parent f8f0a9fd
...@@ -184,21 +184,22 @@ public class AgmsHiringServiceImpl implements AgmsHiringService { ...@@ -184,21 +184,22 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
Long practitionerId = agmsHiringDalService.findPractitionerIdByLoginId(loginId); Long practitionerId = agmsHiringDalService.findPractitionerIdByLoginId(loginId);
AclUser user = aclUserDalService.selectByPrimaryKey(loginId); AclUser user = aclUserDalService.selectByPrimaryKey(loginId);
String mobileNo = user.getMobileNo(); String mobileNo = user.getMobileNo();
this.doApprove(practitionerId, mobileNo, requestVO, responseVO); this.doApprove(practitionerId, mobileNo, user.getId(), requestVO, responseVO);
return responseVO; return responseVO;
} else { } else {
Long practitionerId = requestVO.getPractitionerId(); Long practitionerId = requestVO.getPractitionerId();
AclPractitioner practitioner = aclPractitionerMapper.selectByPrimaryKey(practitionerId); AclPractitioner practitioner = aclPractitionerMapper.selectByPrimaryKey(practitionerId);
String mobileNo = practitioner.getMobileNo(); String mobileNo = practitioner.getMobileNo();
this.doApprove(practitionerId, mobileNo, requestVO, responseVO); this.doApprove(practitionerId, mobileNo, Long.valueOf("-1"), requestVO, responseVO);
return responseVO; return responseVO;
} }
} }
private void doApprove(Long practitionerId, String mobileNo, PractitionerHiringApproveRequestVO requestVO, PractitionerHiringApproveResponseVO responseVO) { private void doApprove(Long practitionerId, String mobileNo, Long operater,
PractitionerHiringApproveRequestVO requestVO, PractitionerHiringApproveResponseVO responseVO) {
Long hiringBasicInfoId = requestVO.getHiringBasicInfoId(); Long hiringBasicInfoId = requestVO.getHiringBasicInfoId();
//查询审批流程 //查询审批流程
List<MdPractitionerHiringApproveSteps> hiringApproveStepsList = systemConfigService.findHiringApproveStepsAll(); List<MdPractitionerHiringApproveSteps> hiringApproveStepsList = systemConfigService.findHiringApproveStepsAll();
...@@ -246,7 +247,7 @@ public class AgmsHiringServiceImpl implements AgmsHiringService { ...@@ -246,7 +247,7 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
String basicInfoStatus = null; String basicInfoStatus = null;
if (approvingStatus == 1) { if (approvingStatus == 1) {
//最后一步 并同意 更新经纪人系类表 //最后一步 并同意 更新经纪人系类表
updatePractitionerInfo(hiringBasicInfoId, practitionerId); updatePractitionerInfo(hiringBasicInfoId, operater);
//最后一步通过发邮件通知人事填写相关经纪人信息 //最后一步通过发邮件通知人事填写相关经纪人信息
this.sendMailToHR(basicInfo2); this.sendMailToHR(basicInfo2);
basicInfoStatus = "0"; basicInfoStatus = "0";
......
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