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

This commit is contained in:
1378012178@qq.com 2025-10-15 09:39:43 +08:00
parent 8d5c10ad84
commit d6793b7bb7
4 changed files with 26 additions and 2 deletions

View File

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

View File

@ -13,6 +13,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
* @Description: 员工信息
@ -221,4 +222,13 @@ public class BizEmployeesInfo implements Serializable {
@Excel(name = "修改状态", width = 15)
@ApiModelProperty(value = "修改状态")
private java.lang.String modifyStatus;
/**有效开始日期*/
@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;
}

View File

@ -153,7 +153,7 @@ public class EmployeesApplyController extends JeecgController<EmployeesApply, IE
}
return Result.OK("编辑成功!");
return Result.OK("审核成功!");
}
// /**
@ -301,6 +301,6 @@ public class EmployeesApplyController extends JeecgController<EmployeesApply, IE
@RequestMapping(value = "/audit", method = {RequestMethod.POST})
public Result<String> audit(@RequestBody EmployeesApply employeesApply) {
employeesApplyService.audit(employeesApply);
return Result.OK("编辑成功!");
return Result.OK("审核成功!");
}
}

View File

@ -217,4 +217,13 @@ public class EmployeesApply implements Serializable {
@TableField(exist = false)
private String paramsTime;
/**有效开始日期*/
@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;
}