招商经理

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

@@ -59,7 +59,7 @@
<where>
o.deleted = 0
<if test="userId != null and userId != ''">
and s.supervisor_user_id = #{userId}
and s.investment_manager = #{userId}
</if>
<if test="fightRegions != null">
and l.region_id in

View File

@@ -27,7 +27,7 @@ public class StaffBaseInfoDTO {
private String departmentName;
@ApiModelProperty("岗位Id")
private String jobId;
private Long jobId;
@ApiModelProperty("岗位名称")
private String jobName;
@@ -48,7 +48,7 @@ public class StaffBaseInfoDTO {
private String emblemPhoto;
@ApiModelProperty("最高学历")
private String highestDegree;
private Integer highestDegree;
@ApiModelProperty("手机号OA侧绑定的手机号")
private String phone;

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;