Merge branch 'lims_dev' of https://git.will-way.cn/zgty/zt-qms into test

This commit is contained in:
yd
2025-12-03 08:58:06 +08:00
19 changed files with 1191 additions and 0 deletions

View File

@@ -150,6 +150,9 @@ public interface ErrorCodeConstants {
ErrorCode MATERIAL_INFOMATION_NOT_EXISTS = new ErrorCode(1_032_150_000, "试剂耗材不存在"); ErrorCode MATERIAL_INFOMATION_NOT_EXISTS = new ErrorCode(1_032_150_000, "试剂耗材不存在");
ErrorCode MATERIAL_PRODUCT_NOT_EXISTS = new ErrorCode(1_032_150_000, "试剂耗材大类不存在"); ErrorCode MATERIAL_PRODUCT_NOT_EXISTS = new ErrorCode(1_032_150_000, "试剂耗材大类不存在");
ErrorCode MATERIAL_LIFECYCLE_DETAIL_NOT_EXISTS = new ErrorCode(1_032_150_000, "物料通用流程明细不存在");
ErrorCode MATERIAL_LIFECYCLE_NOT_EXISTS = new ErrorCode(1_032_150_000, "物料通用流程不存在");
/*================================= tx 1_032_200_000 ~ 1_032_249_999 ==================================*/ /*================================= tx 1_032_200_000 ~ 1_032_249_999 ==================================*/

View File

@@ -0,0 +1,52 @@
package com.zt.plat.module.qms.resource.material.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 MaterialLifecycleDetailPageReqVO extends PageParam {
@Schema(description = "父ID", example = "24095")
private Long materialLifecycleId;
@Schema(description = "物料批次编号", example = "30393")
private Long batchId;
@Schema(description = "物料大类编号", example = "1020")
private String categoryProductId;
@Schema(description = "物料实例编号", example = "11872")
private Long infomationId;
@Schema(description = "影响数量", example = "28166")
private String influenceCount;
@Schema(description = "明细操作类型", example = "2")
private String businessType;
@Schema(description = "处理状态", example = "1")
private Integer treatmentStatus;
@Schema(description = "表单数据,表单数据")
private String formData;
@Schema(description = "所属部门")
private String systemDepartmentCode;
@Schema(description = "公司名称", example = "赵六")
private String companyName;
@Schema(description = "备注")
private String remark;
@Schema(description = "创建时间")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] createTime;
}

View File

@@ -0,0 +1,74 @@
package com.zt.plat.module.qms.resource.material.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 MaterialLifecycleDetailRespVO {
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "30686")
@ExcelProperty("主键")
private Long id;
@Schema(description = "父ID", example = "24095")
@ExcelProperty("父ID")
private Long materialLifecycleId;
@Schema(description = "物料批次编号", example = "30393")
@ExcelProperty("物料批次编号")
private Long batchId;
@Schema(description = "物料大类编号", example = "1020")
@ExcelProperty("物料大类编号")
private String categoryProductId;
@Schema(description = "物料实例编号", example = "11872")
@ExcelProperty("物料实例编号")
private Long infomationId;
@Schema(description = "影响数量", example = "28166")
@ExcelProperty("影响数量")
private String influenceCount;
@Schema(description = "明细操作类型", example = "2")
@ExcelProperty("明细操作类型")
private String businessType;
@Schema(description = "处理状态", example = "1")
@ExcelProperty("处理状态")
private Integer treatmentStatus;
@Schema(description = "表单数据,表单数据")
@ExcelProperty("表单数据,表单数据")
private String formData;
@Schema(description = "所属部门")
@ExcelProperty("所属部门")
private String systemDepartmentCode;
@Schema(description = "公司编号", example = "2613")
@ExcelProperty("公司编号")
private Long companyId;
@Schema(description = "公司名称", example = "赵六")
@ExcelProperty("公司名称")
private String companyName;
@Schema(description = "部门编号", example = "32413")
@ExcelProperty("部门编号")
private Long deptId;
@Schema(description = "备注")
@ExcelProperty("备注")
private String remark;
@Schema(description = "创建时间")
@ExcelProperty("创建时间")
private LocalDateTime createTime;
}

View File

@@ -0,0 +1,49 @@
package com.zt.plat.module.qms.resource.material.controller.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
@Schema(description = "管理后台 - 物料通用流程明细,对应生命周期的明细新增/修改 Request VO")
@Data
public class MaterialLifecycleDetailSaveReqVO {
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "30686")
private Long id;
@Schema(description = "父ID", example = "24095")
private Long materialLifecycleId;
@Schema(description = "物料批次编号", example = "30393")
private Long batchId;
@Schema(description = "物料大类编号", example = "1020")
private String categoryProductId;
@Schema(description = "物料实例编号", example = "11872")
private Long infomationId;
@Schema(description = "影响数量", example = "28166")
private String influenceCount;
@Schema(description = "明细操作类型", example = "2")
private String businessType;
@Schema(description = "处理状态", example = "1")
private Integer treatmentStatus;
@Schema(description = "表单数据,表单数据")
private String formData;
@Schema(description = "所属部门")
private String systemDepartmentCode;
@Schema(description = "公司编号", example = "2613")
private Long companyId;
@Schema(description = "公司名称", example = "赵六")
private String companyName;
@Schema(description = "备注")
private String remark;
}

View File

@@ -0,0 +1,59 @@
package com.zt.plat.module.qms.resource.material.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 MaterialLifecyclePageReqVO extends PageParam {
@Schema(description = "标题")
private String title;
@Schema(description = "业务类型,【字典】【jy_material_lifecycle_bsn_type】验收、退换货、配置申请", example = "2")
private String businessType;
@Schema(description = "业务类型编码")
private String businessTypeCode;
@Schema(description = "申请人")
private String applyUser;
@Schema(description = "申请人id", example = "29846")
private Long applyUserId;
@Schema(description = "申请部门")
private String applyDepartment;
@Schema(description = "申请部门id", example = "7174")
private Long applyDepartmentId;
@Schema(description = "申请时间")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] applyTime;
@Schema(description = "表单数据,表单数据")
private String formData;
@Schema(description = "流程实例id", example = "28688")
private String flowInstanceId;
@Schema(description = "流程审批状态", example = "2")
private String flowStatus;
@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,74 @@
package com.zt.plat.module.qms.resource.material.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 MaterialLifecycleRespVO {
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "4561")
@ExcelProperty("主键")
private Long id;
@Schema(description = "标题")
@ExcelProperty("标题")
private String title;
@Schema(description = "业务类型,【字典】【jy_material_lifecycle_bsn_type】验收、退换货、配置申请", example = "2")
@ExcelProperty("业务类型,【字典】【jy_material_lifecycle_bsn_type】验收、退换货、配置申请")
private String businessType;
@Schema(description = "业务类型编码")
@ExcelProperty("业务类型编码")
private String businessTypeCode;
@Schema(description = "申请人")
@ExcelProperty("申请人")
private String applyUser;
@Schema(description = "申请人id", example = "29846")
@ExcelProperty("申请人id")
private Long applyUserId;
@Schema(description = "申请部门")
@ExcelProperty("申请部门")
private String applyDepartment;
@Schema(description = "申请部门id", example = "7174")
@ExcelProperty("申请部门id")
private Long applyDepartmentId;
@Schema(description = "申请时间")
@ExcelProperty("申请时间")
private LocalDateTime applyTime;
@Schema(description = "表单数据,表单数据")
@ExcelProperty("表单数据,表单数据")
private String formData;
@Schema(description = "流程实例id", example = "28688")
@ExcelProperty("流程实例id")
private String flowInstanceId;
@Schema(description = "流程审批状态", example = "2")
@ExcelProperty("流程审批状态")
private String flowStatus;
@Schema(description = "所属部门")
@ExcelProperty("所属部门")
private String systemDepartmentCode;
@Schema(description = "备注")
@ExcelProperty("备注")
private String remark;
@Schema(description = "创建时间")
@ExcelProperty("创建时间")
private LocalDateTime createTime;
}

View File

@@ -0,0 +1,54 @@
package com.zt.plat.module.qms.resource.material.controller.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
@Schema(description = "管理后台 - 物料通用流程新增/修改 Request VO")
@Data
public class MaterialLifecycleSaveReqVO {
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "4561")
private Long id;
@Schema(description = "标题")
private String title;
@Schema(description = "业务类型,【字典】【jy_material_lifecycle_bsn_type】验收、退换货、配置申请", example = "2")
private String businessType;
@Schema(description = "业务类型编码")
private String businessTypeCode;
@Schema(description = "申请人")
private String applyUser;
@Schema(description = "申请人id", example = "29846")
private Long applyUserId;
@Schema(description = "申请部门")
private String applyDepartment;
@Schema(description = "申请部门id", example = "7174")
private Long applyDepartmentId;
@Schema(description = "申请时间")
private LocalDateTime applyTime;
@Schema(description = "表单数据,表单数据")
private String formData;
@Schema(description = "流程实例id", example = "28688")
private String flowInstanceId;
@Schema(description = "流程审批状态", example = "2")
private String flowStatus;
@Schema(description = "所属部门")
private String systemDepartmentCode;
@Schema(description = "备注")
private String remark;
}

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