|
@@ -14,35 +14,29 @@ import java.time.LocalDateTime;
|
|
|
public class IotSapStockRespVO {
|
|
public class IotSapStockRespVO {
|
|
|
|
|
|
|
|
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "12946")
|
|
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "12946")
|
|
|
- @ExcelProperty("主键")
|
|
|
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
|
|
@Schema(description = "组织部门id", example = "10123")
|
|
@Schema(description = "组织部门id", example = "10123")
|
|
|
- @ExcelProperty("组织部门id")
|
|
|
|
|
private Long deptId;
|
|
private Long deptId;
|
|
|
|
|
|
|
|
@Schema(description = "工厂(SAP) 专业公司 sap code")
|
|
@Schema(description = "工厂(SAP) 专业公司 sap code")
|
|
|
- @ExcelProperty("工厂(SAP) 专业公司 sap code")
|
|
|
|
|
private String factoryCode;
|
|
private String factoryCode;
|
|
|
|
|
|
|
|
@Schema(description = "工厂id (system_sap_org表id)", example = "10123")
|
|
@Schema(description = "工厂id (system_sap_org表id)", example = "10123")
|
|
|
- @ExcelProperty("工厂(SAP) 专业公司")
|
|
|
|
|
private Long factoryId;
|
|
private Long factoryId;
|
|
|
|
|
|
|
|
@Schema(description = "工厂(SAP) 专业公司 名称")
|
|
@Schema(description = "工厂(SAP) 专业公司 名称")
|
|
|
- @ExcelProperty("工厂(SAP) 专业公司 名称")
|
|
|
|
|
|
|
+ @ExcelProperty("工厂")
|
|
|
private String factory;
|
|
private String factory;
|
|
|
|
|
|
|
|
@Schema(description = "库存地点 sap code", example = "10123")
|
|
@Schema(description = "库存地点 sap code", example = "10123")
|
|
|
- @ExcelProperty("库存地点 sap code")
|
|
|
|
|
private String storageLocationCode;
|
|
private String storageLocationCode;
|
|
|
|
|
|
|
|
@Schema(description = "库存地点id", example = "10123")
|
|
@Schema(description = "库存地点id", example = "10123")
|
|
|
- @ExcelProperty("库存地点id")
|
|
|
|
|
private Long storageLocationId;
|
|
private Long storageLocationId;
|
|
|
|
|
|
|
|
@Schema(description = "库存地点 - SAP 部门 项目部级 通用库 项目部库")
|
|
@Schema(description = "库存地点 - SAP 部门 项目部级 通用库 项目部库")
|
|
|
- @ExcelProperty("库存地点 - SAP 部门 项目部级 通用库 项目部库")
|
|
|
|
|
|
|
+ @ExcelProperty("库存地点")
|
|
|
private String projectDepartment;
|
|
private String projectDepartment;
|
|
|
|
|
|
|
|
@Schema(description = "物料编码")
|
|
@Schema(description = "物料编码")
|
|
@@ -54,11 +48,9 @@ public class IotSapStockRespVO {
|
|
|
private String materialName;
|
|
private String materialName;
|
|
|
|
|
|
|
|
@Schema(description = "物料组", example = "芋艿")
|
|
@Schema(description = "物料组", example = "芋艿")
|
|
|
- @ExcelProperty("物料组")
|
|
|
|
|
private String materialGroupName;
|
|
private String materialGroupName;
|
|
|
|
|
|
|
|
@Schema(description = "物料组id", example = "14906")
|
|
@Schema(description = "物料组id", example = "14906")
|
|
|
- @ExcelProperty("物料组id")
|
|
|
|
|
private Long materialGroupId;
|
|
private Long materialGroupId;
|
|
|
|
|
|
|
|
@Schema(description = "数量")
|
|
@Schema(description = "数量")
|
|
@@ -66,7 +58,7 @@ public class IotSapStockRespVO {
|
|
|
private BigDecimal quantity;
|
|
private BigDecimal quantity;
|
|
|
|
|
|
|
|
@Schema(description = "单价", example = "14017")
|
|
@Schema(description = "单价", example = "14017")
|
|
|
- @ExcelProperty("单价")
|
|
|
|
|
|
|
+ @ExcelProperty("单价(元)")
|
|
|
private BigDecimal unitPrice;
|
|
private BigDecimal unitPrice;
|
|
|
|
|
|
|
|
@Schema(description = "单位")
|
|
@Schema(description = "单位")
|
|
@@ -78,53 +70,45 @@ public class IotSapStockRespVO {
|
|
|
private BigDecimal safetyStock;
|
|
private BigDecimal safetyStock;
|
|
|
|
|
|
|
|
@Schema(description = "库区id", example = "10123")
|
|
@Schema(description = "库区id", example = "10123")
|
|
|
- @ExcelProperty("库区id")
|
|
|
|
|
private Long storageAreaId;
|
|
private Long storageAreaId;
|
|
|
|
|
|
|
|
@Schema(description = "库区名称")
|
|
@Schema(description = "库区名称")
|
|
|
- @ExcelProperty("库区名称")
|
|
|
|
|
private String storageAreaName;
|
|
private String storageAreaName;
|
|
|
|
|
|
|
|
@Schema(description = "货架id", example = "24365")
|
|
@Schema(description = "货架id", example = "24365")
|
|
|
- @ExcelProperty("货架id")
|
|
|
|
|
private Long shelvesId;
|
|
private Long shelvesId;
|
|
|
|
|
|
|
|
@Schema(description = "库位id", example = "16905")
|
|
@Schema(description = "库位id", example = "16905")
|
|
|
- @ExcelProperty("库位id")
|
|
|
|
|
private Long cargoLocationId;
|
|
private Long cargoLocationId;
|
|
|
|
|
|
|
|
@Schema(description = "类型(通用库 项目部库)", example = "1")
|
|
@Schema(description = "类型(通用库 项目部库)", example = "1")
|
|
|
- @ExcelProperty("类型(通用库 项目部库)")
|
|
|
|
|
private Integer type;
|
|
private Integer type;
|
|
|
|
|
|
|
|
@Schema(description = "同步状态 0未同步 1同步成功 2同步失败", example = "2")
|
|
@Schema(description = "同步状态 0未同步 1同步成功 2同步失败", example = "2")
|
|
|
- @ExcelProperty("同步状态 0未同步 1同步成功 2同步失败")
|
|
|
|
|
private Integer syncStatus;
|
|
private Integer syncStatus;
|
|
|
|
|
|
|
|
@Schema(description = "最后一次同步时间")
|
|
@Schema(description = "最后一次同步时间")
|
|
|
- @ExcelProperty("最后一次同步时间")
|
|
|
|
|
private LocalDateTime syncTime;
|
|
private LocalDateTime syncTime;
|
|
|
|
|
|
|
|
@Schema(description = "同步失败时的错误信息")
|
|
@Schema(description = "同步失败时的错误信息")
|
|
|
- @ExcelProperty("同步失败时的错误信息")
|
|
|
|
|
private String syncError;
|
|
private String syncError;
|
|
|
|
|
|
|
|
@Schema(description = "排序")
|
|
@Schema(description = "排序")
|
|
|
- @ExcelProperty("排序")
|
|
|
|
|
private Integer sort;
|
|
private Integer sort;
|
|
|
|
|
|
|
|
@Schema(description = "状态 0启用 1停用", example = "2")
|
|
@Schema(description = "状态 0启用 1停用", example = "2")
|
|
|
- @ExcelProperty("状态 0启用 1停用")
|
|
|
|
|
private Integer status;
|
|
private Integer status;
|
|
|
|
|
|
|
|
@Schema(description = "备注", example = "你说的对")
|
|
@Schema(description = "备注", example = "你说的对")
|
|
|
- @ExcelProperty("备注")
|
|
|
|
|
private String remark;
|
|
private String remark;
|
|
|
|
|
|
|
|
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @ExcelProperty("创建时间")
|
|
|
|
|
private LocalDateTime createTime;
|
|
private LocalDateTime createTime;
|
|
|
|
|
|
|
|
|
|
+ @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
|
+ @ExcelProperty("创建时间")
|
|
|
|
|
+ private String createTimeStr;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 扩展字段
|
|
* 扩展字段
|
|
|
*/
|
|
*/
|