招商经理

This commit is contained in:
苏竹红
2024-06-19 16:36:38 +08:00
parent b756112031
commit 62262a0a97
4 changed files with 8 additions and 8 deletions

View File

@@ -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());

View File

@@ -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;