PaperBasicInfo

dev-tmp1
luotaiqian 2026-08-21 16:43:15 +08:00
parent 0b4461d06b
commit 32ab24c8a0
2 changed files with 6 additions and 6 deletions

View File

@ -42,13 +42,13 @@ public class ClassManagementDTO {
private String safetyManager; private String safetyManager;
@ApiModelProperty("培训开始日期") @ApiModelProperty("培训开始日期")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDateTime startDate; private LocalDateTime startDate;
@ApiModelProperty("培训结束日期") @ApiModelProperty("培训结束日期")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDateTime endDate; private LocalDateTime endDate;
@ApiModelProperty("是否开启考试0-否1-是)") @ApiModelProperty("是否开启考试0-否1-是)")

View File

@ -152,11 +152,11 @@ public class OrgPersonnelImportRow {
private String officeAddress; private String officeAddress;
@ExcelProperty(value = "是否技术负责人", index = 11) @ExcelProperty(value = "是否技术负责人", index = 11)
@Pattern(regexp = "^([是否])?$", message = "是否技术负责人仅允许:是、否") @Size(max = 2, message = "是否技术负责人长度不能超2个字符")
private String technicalDirector; private String technicalDirector;
@ExcelProperty(value = "是否过程控制负责人", index = 12) @ExcelProperty(value = "是否过程控制负责人", index = 12)
@Pattern(regexp = "^([是否])?$", message = "是否过程控制负责人仅允许:是、否") @Size(max = 2, message = "是否过程控制负责人长度不能超2个字符")
private String processControlLeader; private String processControlLeader;
@ExcelProperty(value = "主要学习工作经历", index = 13) @ExcelProperty(value = "主要学习工作经历", index = 13)