1、员工流程增加身份证有效期存储
This commit is contained in:
parent
e9f729ebc8
commit
ecc8b4f875
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue