文件记录

This commit is contained in:
YBP
2026-02-11 14:06:40 +08:00
parent f13e72d8d0
commit 68de07f232
55 changed files with 3790 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
package com.zt.plat.module.qms.resource.record.controller.admin.recordRelation.vo;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 文件记录关系分页 Request VO")
@Data
public class RecordRelationPageReqVO extends PageParam {
@Schema(description = "文件记录id", example = "30001")
private Long rcdId;
@Schema(description = "目标对象id", example = "16509")
private Long tgtId;
@Schema(description = "目标对象类型,业务类型:设备、物料试剂、原始记录等")
private String tgtTp;
@Schema(description = "所属部门")
private String sysDeptCd;
@Schema(description = "备注")
private String rmk;
@Schema(description = "创建时间")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] createTime;
}

View File

@@ -0,0 +1,43 @@
package com.zt.plat.module.qms.resource.record.controller.admin.recordRelation.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
@Schema(description = "管理后台 - 文件记录关系 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RecordRelationRespVO {
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "28532")
@ExcelProperty("主键")
private String id;
@Schema(description = "文件记录id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30001")
@ExcelProperty("文件记录id")
private Long rcdId;
@Schema(description = "目标对象id", requiredMode = Schema.RequiredMode.REQUIRED, example = "16509")
@ExcelProperty("目标对象id")
private Long tgtId;
@Schema(description = "目标对象类型,业务类型:设备、物料试剂、原始记录等", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("目标对象类型,业务类型:设备、物料试剂、原始记录等")
private String tgtTp;
@Schema(description = "所属部门")
@ExcelProperty("所属部门")
private String sysDeptCd;
@Schema(description = "备注")
@ExcelProperty("备注")
private String rmk;
@Schema(description = "创建时间")
@ExcelProperty("创建时间")
private LocalDateTime createTime;
}

View File

@@ -0,0 +1,33 @@
package com.zt.plat.module.qms.resource.record.controller.admin.recordRelation.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
@Schema(description = "管理后台 - 文件记录关系新增/修改 Request VO")
@Data
public class RecordRelationSaveReqVO {
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "28532")
private String id;
@Schema(description = "文件记录id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30001")
@NotNull(message = "文件记录id不能为空")
private Long rcdId;
@Schema(description = "目标对象id", requiredMode = Schema.RequiredMode.REQUIRED, example = "16509")
@NotNull(message = "目标对象id不能为空")
private Long tgtId;
@Schema(description = "目标对象类型,业务类型:设备、物料试剂、原始记录等", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "目标对象类型,业务类型:设备、物料试剂、原始记录等不能为空")
private String tgtTp;
@Schema(description = "所属部门")
private String sysDeptCd;
@Schema(description = "备注")
private String rmk;
}

View File

@@ -0,0 +1,70 @@
package com.zt.plat.module.qms.resource.record.controller.admin.recordapply.vo;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 文件记录通用申请分页 Request VO")
@Data
public class RecordApplyPageReqVO extends PageParam {
@Schema(description = "申请标题,【字典】【jy_record_apply_bsn_type】分发、查看申请、作废、评审")
private String title;
@Schema(description = "业务类型", example = "1")
private String businessType;
@Schema(description = "申请人id", example = "15000")
private Long applyUserId;
@Schema(description = "申请人姓名", example = "张三")
private String applyUserName;
@Schema(description = "部门id")
private Long departmentCode;
@Schema(description = "评审范围")
private String reviewRange;
@Schema(description = "参加评审人员", example = "赵六")
private String reviewUserName;
@Schema(description = "参加评审人员id")
private String reviewUserIds;
@Schema(description = "申请事由")
private String applyContent;
@Schema(description = "更改前内容")
private String changeBefore;
@Schema(description = "更改后内容")
private String changeAfter;
@Schema(description = "是否长期有效")
private String permanently;
@Schema(description = "开始日期")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] applyStartDate;
@Schema(description = "截止日期")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] applyEndDate;
@Schema(description = "所属部门")
private String systemDepartmentCode;
@Schema(description = "备注")
private String remark;
@Schema(description = "创建时间")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] createTime;
}

View File

@@ -0,0 +1,87 @@
package com.zt.plat.module.qms.resource.record.controller.admin.recordapply.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
@Schema(description = "管理后台 - 文件记录通用申请 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RecordApplyRespVO {
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "9976")
@ExcelProperty("主键")
private Long id;
@Schema(description = "申请标题,【字典】【jy_record_apply_bsn_type】分发、查看申请、作废、评审", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("申请标题,【字典】【jy_record_apply_bsn_type】分发、查看申请、作废、评审")
private String title;
@Schema(description = "业务类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
@ExcelProperty("业务类型")
private String businessType;
@Schema(description = "申请人id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15000")
@ExcelProperty("申请人id")
private Long applyUserId;
@Schema(description = "申请人姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
@ExcelProperty("申请人姓名")
private String applyUserName;
@Schema(description = "部门id", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("部门id")
private Long departmentCode;
@Schema(description = "评审范围")
@ExcelProperty("评审范围")
private String reviewRange;
@Schema(description = "参加评审人员", example = "赵六")
@ExcelProperty("参加评审人员")
private String reviewUserName;
@Schema(description = "参加评审人员id")
@ExcelProperty("参加评审人员id")
private String reviewUserIds;
@Schema(description = "申请事由")
@ExcelProperty("申请事由")
private String applyContent;
@Schema(description = "更改前内容")
@ExcelProperty("更改前内容")
private String changeBefore;
@Schema(description = "更改后内容")
@ExcelProperty("更改后内容")
private String changeAfter;
@Schema(description = "是否长期有效")
@ExcelProperty("是否长期有效")
private String permanently;
@Schema(description = "开始日期")
@ExcelProperty("开始日期")
private LocalDateTime applyStartDate;
@Schema(description = "截止日期")
@ExcelProperty("截止日期")
private LocalDateTime applyEndDate;
@Schema(description = "所属部门")
@ExcelProperty("所属部门")
private String systemDepartmentCode;
@Schema(description = "备注")
@ExcelProperty("备注")
private String remark;
@Schema(description = "创建时间")
@ExcelProperty("创建时间")
private LocalDateTime createTime;
}

View File

@@ -0,0 +1,70 @@
package com.zt.plat.module.qms.resource.record.controller.admin.recordapply.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
@Schema(description = "管理后台 - 文件记录通用申请新增/修改 Request VO")
@Data
public class RecordApplySaveReqVO {
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "9976")
private Long id;
@Schema(description = "申请标题,【字典】【jy_record_apply_bsn_type】分发、查看申请、作废、评审", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "申请标题,【字典】【jy_record_apply_bsn_type】分发、查看申请、作废、评审不能为空")
private String title;
@Schema(description = "业务类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
@NotEmpty(message = "业务类型不能为空")
private String businessType;
@Schema(description = "申请人id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15000")
@NotNull(message = "申请人id不能为空")
private Long applyUserId;
@Schema(description = "申请人姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
@NotEmpty(message = "申请人姓名不能为空")
private String applyUserName;
@Schema(description = "部门id", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "部门id不能为空")
private Long departmentCode;
@Schema(description = "评审范围")
private String reviewRange;
@Schema(description = "参加评审人员", example = "赵六")
private String reviewUserName;
@Schema(description = "参加评审人员id")
private String reviewUserIds;
@Schema(description = "申请事由")
private String applyContent;
@Schema(description = "更改前内容")
private String changeBefore;
@Schema(description = "更改后内容")
private String changeAfter;
@Schema(description = "是否长期有效")
private String permanently;
@Schema(description = "开始日期")
private LocalDateTime applyStartDate;
@Schema(description = "截止日期")
private LocalDateTime applyEndDate;
@Schema(description = "所属部门")
private String systemDepartmentCode;
@Schema(description = "备注")
private String remark;
}

View File

@@ -0,0 +1,46 @@
package com.zt.plat.module.qms.resource.record.controller.admin.recordapplydetail.vo;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 文件记录通用申请明细分页 Request VO")
@Data
public class RecordApplyDetailPageReqVO extends PageParam {
@Schema(description = "父id", example = "28812")
private Long applyId;
@Schema(description = "文件id", example = "3188")
private Long documentId;
@Schema(description = "是否长期有效")
private String permanently;
@Schema(description = "开始日期")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] applyStartDate;
@Schema(description = "截止日期")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] applyEndDate;
@Schema(description = "排序号")
private String sortNo;
@Schema(description = "所属部门")
private String systemDepartmentCode;
@Schema(description = "备注")
private String remark;
@Schema(description = "创建时间")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] createTime;
}

Some files were not shown because too many files have changed in this diff Show More