员工管理-审核管理,通过后将最新数据传递给管理平台

This commit is contained in:
曹磊 2026-02-11 14:48:33 +08:00
parent 1d504856bd
commit f712b434e8
3 changed files with 96 additions and 0 deletions

View File

@ -1,6 +1,9 @@
package com.nu.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
@ -33,4 +36,64 @@ public class EmployeesStatusMQDto implements Serializable {
private Date entryTime;
/**openId*/
private String openId;
/**联系电话*/
private String tel;
/**咨询人姓名*/
private String name;
/**性别*/
private String sex;
/**民族*/
private String national;
/**出生日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy年MM月dd日")
@DateTimeFormat(pattern="yyyy年MM月dd日")
private Date birthDate;
/**住址(身份证上)*/
private String idCardAddress;
/**身份证号*/
private String idCard;
/**签发机关*/
private String issuingAuthority;
/**身份证正面*/
private String cardZmPath;
/**身份证反面*/
private String cardFmPath;
/**婚否0未婚 1已婚*/
private String maritalStatus;
/**身高*/
private String height;
/**体重*/
private String weight;
/**健康状况0健康 1患病*/
private String healthStatus;
/**政治面貌0共产党员 1民主党 2国民党 3无党派*/
private String politicalAppearance;
/**紧急联系人姓名*/
private String contactName;
/**紧急联系人电话*/
private String contactTel;
/**紧急联系人与本人关系*/
private String contactRelationship;
/**户口性质0农业 1非农业*/
private String hukouType;
/**银行卡正面*/
private String bankZmPath;
/**银行卡反面*/
private String bankFmPath;
/**开户行*/
private String openingBank;
/**银行卡号*/
private String bankCard;
/**健康证正面*/
private String healthZmPath;
/**健康证反面*/
private String healthFmPath;
/**资质证(可多张)*/
private String qualificationPath;
/**无犯罪正面*/
private String noCrimeCertificate;
/**现住址*/
private String currentAddress;
}

View File

@ -154,6 +154,35 @@ public class EmployeesApplyController extends JeecgController<EmployeesApply, IE
mqdto.setOpenId(employeesApply.getOpenId());//openId
if ("2".equals(employeesApply.getStatus())) {
mqdto.setEntryTime(entryTime);//入驻时间
EmployeesApply apply = employeesApplyService.getById(employeesApply.getId());
mqdto.setTel(apply.getTel());
mqdto.setName(apply.getName());
mqdto.setSex(apply.getSex());
mqdto.setNational(apply.getNational());
mqdto.setBirthDate(apply.getDateOfBirth());
mqdto.setIdCard(apply.getIdCard());
mqdto.setIdCardAddress(apply.getHouseAddress());
mqdto.setIssuingAuthority(apply.getIssuingAuthority());
mqdto.setCardFmPath(apply.getIdCardPositive());
mqdto.setCardFmPath(apply.getIdCardNegative());
mqdto.setMaritalStatus(apply.getMarriedOrNot());
mqdto.setHeight(apply.getHeight());
mqdto.setWeight(apply.getWeight());
mqdto.setHealthStatus(apply.getHealthStatus());
mqdto.setPoliticalAppearance(apply.getPoliticalAppearance());
mqdto.setContactName(apply.getEmergencyContact());
mqdto.setContactTel(apply.getEmergencyTel());
mqdto.setContactRelationship(apply.getEmergencyRelationship());
mqdto.setHukouType(apply.getHukouNature());
mqdto.setBankZmPath(apply.getBankPositive());
mqdto.setBankFmPath(apply.getBankNegative());
mqdto.setOpeningBank(apply.getOpeningBank());
mqdto.setBankCard(apply.getBankCard());
mqdto.setHealthZmPath(apply.getHealthCertificatePositive());
mqdto.setHealthFmPath(apply.getHealthCertificateNegative());
mqdto.setQualificationPath(apply.getQualification());
mqdto.setNoCrimeCertificate(apply.getNoCrimeCertificate());
mqdto.setCurrentAddress(apply.getCurrentAddress());
}
rabbitMQUtil.sendToExchange("hldy.employees", "hldy.employeesorg.auditstatus.sync", mqdto);

View File

@ -100,6 +100,10 @@ public class EmployeesApply implements Serializable {
@Excel(name = "户籍所在地", width = 15)
@ApiModelProperty(value = "户籍所在地")
private java.lang.String houseAddress;
/**签发机关*/
@Excel(name = "签发机关", width = 15)
@ApiModelProperty(value = "签发机关")
private String issuingAuthority;
/**
* 现住址
*/