招商经理
This commit is contained in:
@@ -104,8 +104,8 @@ public class XfsgTrainingPersonSyncListener implements MessageListener {
|
||||
StaffBaseInfoDTO staffBaseInfoDTO = xfsgEhrService.getUserInfoByCode(request.getJobnumber());
|
||||
log.info("培训人员主数据信息:staffBaseInfoDTO:{}", JSONObject.toJSONString(staffBaseInfoDTO));
|
||||
if(staffBaseInfoDTO != null){
|
||||
TempUserDetailDO tempUserDetailDO = fillTempUserDetailDO(shopInfoDO, staffBaseInfoDTO);
|
||||
tempUserDetailDAO.insertSelective(tempUserDetailDO);
|
||||
// TempUserDetailDO tempUserDetailDO = fillTempUserDetailDO(shopInfoDO, staffBaseInfoDTO);
|
||||
// tempUserDetailDAO.insertSelective(tempUserDetailDO);
|
||||
}
|
||||
}else if(checkTempUserDetailDO != null &&
|
||||
(checkTempUserDetailDO.getShopId() == 0L || checkTempUserDetailDO.getShopId() != shopInfoDO.getId())){
|
||||
@@ -134,7 +134,7 @@ public class XfsgTrainingPersonSyncListener implements MessageListener {
|
||||
}
|
||||
tempUserDetailDO.setIdCard(staffBaseInfoDTO.getIdCard());
|
||||
tempUserDetailDO.setStatus(1);
|
||||
tempUserDetailDO.setEducational(fillEducational(staffBaseInfoDTO.getHighestDegree()));
|
||||
// tempUserDetailDO.setEducational(fillEducational(staffBaseInfoDTO.getHighestDegree()));
|
||||
tempUserDetailDO.setRoleId(fillRoleId(staffBaseInfoDTO.getJobName()));
|
||||
tempUserDetailDO.setIdCardNegativeUrl(staffBaseInfoDTO.getEmblemPhoto());
|
||||
tempUserDetailDO.setIdCardPositiveUrl(staffBaseInfoDTO.getIdNumPhoto());
|
||||
|
||||
@@ -182,8 +182,8 @@ public class TempUserDetailServiceImpl implements TempUserDetailService {
|
||||
userInfoByCode.setStatus(tempUserDetailDO.getStatus());
|
||||
userInfoByCode.setIdNumPhoto(tempUserDetailDO.getIdCardPositiveUrl());
|
||||
userInfoByCode.setEmblemPhoto(tempUserDetailDO.getIdCardNegativeUrl());
|
||||
userInfoByCode.setHighestDegree(String.valueOf(tempUserDetailDO.getEducational()));
|
||||
userInfoByCode.setJobId(String.valueOf(tempUserDetailDO.getRoleId()));
|
||||
userInfoByCode.setHighestDegree(tempUserDetailDO.getEducational());
|
||||
userInfoByCode.setJobId(tempUserDetailDO.getRoleId());
|
||||
userInfoByCode.setEntryDate(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,tempUserDetailDO.getSubmitTime()));
|
||||
userInfoByCode.setHealthCertificate(tempUserDetailDO.getHealthCertificateUrl());
|
||||
return userInfoByCode;
|
||||
|
||||
Reference in New Issue
Block a user