1、员工流程增加身份证有效期存储

This commit is contained in:
1378012178@qq.com 2025-10-15 09:38:40 +08:00
parent e9f729ebc8
commit ecc8b4f875
3 changed files with 17 additions and 0 deletions

View File

@ -116,6 +116,8 @@ public class NuEmployeesAdvisoryInfoServiceImpl extends ServiceImpl<NuEmployeesA
mqdto.setNoCrimeCertificate(dto.getNoCrimeCertificate());
mqdto.setHouseAddress(dto.getIdCardAddress());
mqdto.setEmployeeId(dto.getId());
mqdto.setStartTime(dto.getStartTime());
mqdto.setEndTime(dto.getEndTime());
rabbitMQUtil.sendToExchange("hldy.employee", dto.getOrgCode() + ".employee.infoUpdate.audit", mqdto);
return 1;
}

View File

@ -97,4 +97,8 @@ public class EmployeesApplyMQDto implements Serializable {
private Date opeTime;
/**修改状态 1修改申请中 2通过 3驳回 */
private java.lang.String modifyStatus;
/**身份证有效开始日期 */
private Date startTime;
/**身份证有效结束日期 */
private Date endTime;
}

View File

@ -1,7 +1,9 @@
package com.nu.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
@ -99,4 +101,13 @@ public class EmployeesApplyEntity implements Serializable {
private String orgCode;
private Date opeTime;
/**有效开始日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy.MM.dd")
@DateTimeFormat(pattern="yyyy.MM.dd")
private Date startTime;
/**有效结束日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy.MM.dd")
@DateTimeFormat(pattern="yyyy.MM.dd")
private Date endTime;
}