feat:物料管理盘点相关
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,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;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
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 MaterialInventoryCheckDetailSaveReqVO {
|
||||
|
||||
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16347")
|
||||
private Long id;
|
||||
|
||||
@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;
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user