feat:物料管理盘点相关
This commit is contained in:
@@ -159,8 +159,12 @@ public interface ErrorCodeConstants {
|
||||
ErrorCode MATERIAL_INVENTORY_INBOUND_NOT_EXISTS = new ErrorCode(1_032_150_000, "入库,出库不存在");
|
||||
ErrorCode MATERIAL_INVENTORY_INBOUND_DETAIL_NOT_EXISTS = new ErrorCode(1_032_150_000, "入库明细,出库明细等不存在");
|
||||
|
||||
|
||||
ErrorCode SYSTEM_VERSION_MANAGEMENT_NOT_EXISTS = new ErrorCode(1_032_150_000, "客户端版本管理不存在");
|
||||
|
||||
ErrorCode MATERIAL_LOCATION_NOT_EXISTS = new ErrorCode(1_032_150_000, "存放位置不存在");
|
||||
ErrorCode MATERIAL_INVENTORY_CHECK_NOT_EXISTS = new ErrorCode(1_032_150_000, "库存盘点不存在");
|
||||
ErrorCode MATERIAL_INVENTORY_CHECK_BATCH_NOT_EXISTS = new ErrorCode(1_032_150_000, "库存盘点项不存在");
|
||||
ErrorCode MATERIAL_INVENTORY_CHECK_DETAIL_NOT_EXISTS = new ErrorCode(1_032_150_000, "库存盘点明细不存在");
|
||||
/*================================= tx 1_032_200_000 ~ 1_032_249_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,44 @@
|
||||
package com.zt.plat.module.qms.resource.material.controller.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 MaterialInventoryCheckBatchPageReqVO extends PageParam {
|
||||
|
||||
@Schema(description = "父id", example = "9310")
|
||||
private Long checkId;
|
||||
|
||||
@Schema(description = "盘点物料大类ID", example = "18437")
|
||||
private Long checkProductId;
|
||||
|
||||
@Schema(description = "盘点部门ID", example = "17789")
|
||||
private Long checkDepartmentId;
|
||||
|
||||
@Schema(description = "应有量")
|
||||
private String expected;
|
||||
|
||||
@Schema(description = "实有量")
|
||||
private String actual;
|
||||
|
||||
@Schema(description = "差异")
|
||||
private String difference;
|
||||
|
||||
@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,55 @@
|
||||
package com.zt.plat.module.qms.resource.material.controller.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 MaterialInventoryCheckBatchRespVO {
|
||||
|
||||
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "12065")
|
||||
@ExcelProperty("主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "父id", example = "9310")
|
||||
@ExcelProperty("父id")
|
||||
private Long checkId;
|
||||
|
||||
@Schema(description = "盘点物料大类ID", example = "18437")
|
||||
@ExcelProperty("盘点物料大类ID")
|
||||
private Long checkProductId;
|
||||
|
||||
@Schema(description = "盘点部门ID", example = "17789")
|
||||
@ExcelProperty("盘点部门ID")
|
||||
private Long checkDepartmentId;
|
||||
|
||||
@Schema(description = "应有量")
|
||||
@ExcelProperty("应有量")
|
||||
private String expected;
|
||||
|
||||
@Schema(description = "实有量")
|
||||
@ExcelProperty("实有量")
|
||||
private String actual;
|
||||
|
||||
@Schema(description = "差异")
|
||||
@ExcelProperty("差异")
|
||||
private String difference;
|
||||
|
||||
@Schema(description = "所属部门")
|
||||
@ExcelProperty("所属部门")
|
||||
private String systemDepartmentCode;
|
||||
|
||||
@Schema(description = "备注")
|
||||
@ExcelProperty("备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@ExcelProperty("创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.zt.plat.module.qms.resource.material.controller.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 MaterialInventoryCheckBatchSaveReqVO {
|
||||
|
||||
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "12065")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "父id", example = "9310")
|
||||
private Long checkId;
|
||||
|
||||
@Schema(description = "盘点物料大类ID", example = "18437")
|
||||
private Long checkProductId;
|
||||
|
||||
@Schema(description = "盘点部门ID", example = "17789")
|
||||
private Long checkDepartmentId;
|
||||
|
||||
@Schema(description = "应有量")
|
||||
private String expected;
|
||||
|
||||
@Schema(description = "实有量")
|
||||
private String actual;
|
||||
|
||||
@Schema(description = "差异")
|
||||
private String difference;
|
||||
|
||||
@Schema(description = "所属部门")
|
||||
private String systemDepartmentCode;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
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 MaterialInventoryCheckDetailPageReqVO extends PageParam {
|
||||
|
||||
@Schema(description = "盘点批次id", example = "12013")
|
||||
private Long checkBatchId;
|
||||
|
||||
@Schema(description = "物料实例id", example = "2480")
|
||||
private Long infomationId;
|
||||
|
||||
@Schema(description = "是否存在")
|
||||
private String present;
|
||||
|
||||
@Schema(description = "当前数量")
|
||||
private String currentQuantity;
|
||||
|
||||
@Schema(description = "状态", example = "1")
|
||||
private String status;
|
||||
|
||||
@Schema(description = "处置方式,字典配置")
|
||||
private String disposalMethod;
|
||||
|
||||
@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,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;
|
||||
import com.alibaba.excel.annotation.*;
|
||||
|
||||
@Schema(description = "管理后台 - 库存盘点明细 Response VO")
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class MaterialInventoryCheckDetailRespVO {
|
||||
|
||||
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16347")
|
||||
@ExcelProperty("主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "盘点批次id", example = "12013")
|
||||
@ExcelProperty("盘点批次id")
|
||||
private Long checkBatchId;
|
||||
|
||||
@Schema(description = "物料实例id", example = "2480")
|
||||
@ExcelProperty("物料实例id")
|
||||
private Long infomationId;
|
||||
|
||||
@Schema(description = "是否存在")
|
||||
@ExcelProperty("是否存在")
|
||||
private String present;
|
||||
|
||||
@Schema(description = "当前数量")
|
||||
@ExcelProperty("当前数量")
|
||||
private String currentQuantity;
|
||||
|
||||
@Schema(description = "状态", example = "1")
|
||||
@ExcelProperty("状态")
|
||||
private String status;
|
||||
|
||||
@Schema(description = "处置方式,字典配置")
|
||||
@ExcelProperty("处置方式,字典配置")
|
||||
private String disposalMethod;
|
||||
|
||||
@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