Merge branch 'test' of https://git.will-way.cn/zgty/zt-qms into test
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,34 @@
|
||||
package com.zt.plat.module.qms.office.supplier.controller.vo;
|
||||
|
||||
import lombok.*;
|
||||
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 SupplierEvaluationAtPageReqVO extends PageParam {
|
||||
|
||||
@Schema(description = "评价id", example = "6160")
|
||||
private Long supplierEvaluationId;
|
||||
|
||||
@Schema(description = "目标对象id", example = "24374")
|
||||
private Long targetId;
|
||||
|
||||
@Schema(description = "目标对象类型,业务类型:设备实例、物料试剂、检定校准记录等", example = "2")
|
||||
private String targetType;
|
||||
|
||||
@Schema(description = "所属部门")
|
||||
private String systemDepartmentCode;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.zt.plat.module.qms.office.supplier.controller.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import com.alibaba.excel.annotation.*;
|
||||
|
||||
@Schema(description = "管理后台 - 供应商评价关系 Response VO")
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class SupplierEvaluationAtRespVO {
|
||||
|
||||
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2684")
|
||||
@ExcelProperty("ID")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "评价id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6160")
|
||||
@ExcelProperty("评价id")
|
||||
private Long supplierEvaluationId;
|
||||
|
||||
@Schema(description = "目标对象id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24374")
|
||||
@ExcelProperty("目标对象id")
|
||||
private Long targetId;
|
||||
|
||||
@Schema(description = "目标对象类型,业务类型:设备实例、物料试剂、检定校准记录等", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
||||
@ExcelProperty("目标对象类型,业务类型:设备实例、物料试剂、检定校准记录等")
|
||||
private String targetType;
|
||||
|
||||
@Schema(description = "所属部门")
|
||||
@ExcelProperty("所属部门")
|
||||
private String systemDepartmentCode;
|
||||
|
||||
@Schema(description = "备注")
|
||||
@ExcelProperty("备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@ExcelProperty("创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.zt.plat.module.qms.office.supplier.controller.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import jakarta.validation.constraints.*;
|
||||
|
||||
@Schema(description = "管理后台 - 供应商评价关系新增/修改 Request VO")
|
||||
@Data
|
||||
public class SupplierEvaluationAtSaveReqVO {
|
||||
|
||||
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2684")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "评价id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6160")
|
||||
@NotNull(message = "评价id不能为空")
|
||||
private Long supplierEvaluationId;
|
||||
|
||||
@Schema(description = "目标对象id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24374")
|
||||
@NotNull(message = "目标对象id不能为空")
|
||||
private Long targetId;
|
||||
|
||||
@Schema(description = "目标对象类型,业务类型:设备实例、物料试剂、检定校准记录等", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
||||
@NotEmpty(message = "目标对象类型,业务类型:设备实例、物料试剂、检定校准记录等不能为空")
|
||||
private String targetType;
|
||||
|
||||
@Schema(description = "所属部门")
|
||||
private String systemDepartmentCode;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.zt.plat.module.qms.office.supplier.controller.vo;
|
||||
|
||||
import lombok.*;
|
||||
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 SupplierEvaluationPageReqVO extends PageParam {
|
||||
|
||||
@Schema(description = "供应商ID", example = "3346")
|
||||
private Long supplierId;
|
||||
|
||||
@Schema(description = "表单模板id", example = "32304")
|
||||
private Long formId;
|
||||
|
||||
@Schema(description = "评价内容")
|
||||
private String content;
|
||||
|
||||
@Schema(description = "评价结论")
|
||||
private String conclusion;
|
||||
|
||||
@Schema(description = "评价人")
|
||||
private String evaluator;
|
||||
|
||||
@Schema(description = "评价人id", example = "25943")
|
||||
private Long evaluatorId;
|
||||
|
||||
@Schema(description = "评价日期")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime[] evaluationDate;
|
||||
|
||||
@Schema(description = "流程审批状态", example = "2")
|
||||
private String flowStatus;
|
||||
|
||||
@Schema(description = "流程实例id", example = "24931")
|
||||
private String flowInstanceId;
|
||||
|
||||
@Schema(description = "所属部门")
|
||||
private String systemDepartmentCode;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
package com.zt.plat.module.qms.office.supplier.controller.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import com.alibaba.excel.annotation.*;
|
||||
|
||||
@Schema(description = "管理后台 - 供应商评价 Response VO")
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class SupplierEvaluationRespVO {
|
||||
|
||||
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "31678")
|
||||
@ExcelProperty("主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "供应商ID", example = "3346")
|
||||
@ExcelProperty("供应商ID")
|
||||
private Long supplierId;
|
||||
|
||||
@Schema(description = "表单模板id", example = "32304")
|
||||
@ExcelProperty("表单模板id")
|
||||
private Long formId;
|
||||
|
||||
@Schema(description = "评价内容")
|
||||
@ExcelProperty("评价内容")
|
||||
private String content;
|
||||
|
||||
@Schema(description = "评价结论")
|
||||
@ExcelProperty("评价结论")
|
||||
private String conclusion;
|
||||
|
||||
@Schema(description = "评价人")
|
||||
@ExcelProperty("评价人")
|
||||
private String evaluator;
|
||||
|
||||
@Schema(description = "评价人id", example = "25943")
|
||||
@ExcelProperty("评价人id")
|
||||
private Long evaluatorId;
|
||||
|
||||
@Schema(description = "评价日期")
|
||||
@ExcelProperty("评价日期")
|
||||
private LocalDateTime evaluationDate;
|
||||
|
||||
@Schema(description = "流程审批状态", example = "2")
|
||||
@ExcelProperty("流程审批状态")
|
||||
private String flowStatus;
|
||||
|
||||
@Schema(description = "流程实例id", example = "24931")
|
||||
@ExcelProperty("流程实例id")
|
||||
private String flowInstanceId;
|
||||
|
||||
@Schema(description = "所属部门")
|
||||
@ExcelProperty("所属部门")
|
||||
private String systemDepartmentCode;
|
||||
|
||||
@Schema(description = "备注")
|
||||
@ExcelProperty("备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@ExcelProperty("创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user