feat:供应商管理代码生成
This commit is contained in:
@@ -166,6 +166,11 @@ public interface ErrorCodeConstants {
|
|||||||
|
|
||||||
|
|
||||||
/*================================= office 办公 1_032_250_000 ~ 1_032_299_999 ==================================*/
|
/*================================= office 办公 1_032_250_000 ~ 1_032_299_999 ==================================*/
|
||||||
|
ErrorCode SUPPLIER_NOT_EXISTS = new ErrorCode(1_032_250_000, "供应商不存在");
|
||||||
|
ErrorCode SUPPLIER_PROPERTIES_NOT_EXISTS = new ErrorCode(1_032_250_000, "供应商属性不存在");
|
||||||
|
ErrorCode SUPPLIER_EVALUATION_NOT_EXISTS = new ErrorCode(1_032_250_000, "供应商评价不存在");
|
||||||
|
ErrorCode SUPPLIER_EVALUATION_AT_NOT_EXISTS = new ErrorCode(1_032_250_000, "供应商评价关系不存在");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*================================= dzj 大质检 1_032_300_000 ~ 1_032_349_999 ==================================*/
|
/*================================= dzj 大质检 1_032_300_000 ~ 1_032_349_999 ==================================*/
|
||||||
|
|||||||
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;
|
||||||
|
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user