forked from sfms3.0/sfms3.0
Browse Source
# Conflicts: # win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/controller/inspectRequest/InspectRequestMainController.javamaster
241 changed files with 6843 additions and 2139 deletions
@ -1,12 +1,20 @@ |
|||||
package com.win.module.wms.controller.deliverPlan.vo; |
package com.win.module.wms.controller.deliverPlan.vo; |
||||
|
|
||||
|
import com.win.framework.excel.core.annotations.SubObject; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.*; |
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
@Schema(description = "管理后台 - 发货计划主更新 Request VO") |
@Schema(description = "管理后台 - 发货计划主更新 Request VO") |
||||
@Data |
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
@EqualsAndHashCode(callSuper = true) |
||||
@ToString(callSuper = true) |
@ToString(callSuper = true) |
||||
public class DeliverPlanMainUpdateReqVO extends DeliverPlanMainBaseVO { |
public class DeliverPlanMainUpdateReqVO extends DeliverPlanMainBaseVO { |
||||
|
@SubObject |
||||
|
@Schema(description = "子表数据") |
||||
|
private List<DeliverPlanDetailUpdateReqVO> subList; |
||||
|
|
||||
} |
} |
||||
|
@ -1,12 +1,19 @@ |
|||||
package com.win.module.wms.controller.demandforecasting.vo; |
package com.win.module.wms.controller.demandforecasting.vo; |
||||
|
|
||||
|
import com.win.framework.excel.core.annotations.SubObject; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.*; |
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
@Schema(description = "管理后台 - 要货预测主更新 Request VO") |
@Schema(description = "管理后台 - 要货预测主更新 Request VO") |
||||
@Data |
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
@EqualsAndHashCode(callSuper = true) |
||||
@ToString(callSuper = true) |
@ToString(callSuper = true) |
||||
public class DemandforecastingMainUpdateReqVO extends DemandforecastingMainBaseVO { |
public class DemandforecastingMainUpdateReqVO extends DemandforecastingMainBaseVO { |
||||
|
@SubObject |
||||
|
@Schema(description = "子表数据") |
||||
|
private List<DemandforecastingDetailUpdateReqVO> subList; |
||||
} |
} |
||||
|
@ -0,0 +1,25 @@ |
|||||
|
package com.win.module.wms.controller.inspectRequest.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 供应商发票申请 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = true) |
||||
|
@ToString(callSuper = true) |
||||
|
public class InspectRequestImportErrorVO extends InspectRequestImportVO { |
||||
|
|
||||
|
@ExcelProperty(value = "导入状态", index = 0) |
||||
|
private String importStatus; |
||||
|
|
||||
|
@ExcelProperty(value = "导入说明", index = 1) |
||||
|
private String importRemark; |
||||
|
|
||||
|
} |
@ -0,0 +1,60 @@ |
|||||
|
package com.win.module.wms.controller.inspectRequest.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import com.win.framework.excel.core.annotations.DictFormat; |
||||
|
import com.win.framework.excel.core.convert.DictConvert; |
||||
|
import com.win.module.wms.enums.DictTypeConstants; |
||||
|
import lombok.AllArgsConstructor; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
import lombok.experimental.Accessors; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 供应商发票申请子 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@AllArgsConstructor |
||||
|
@NoArgsConstructor |
||||
|
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
||||
|
public class InspectRequestImportVO { |
||||
|
|
||||
|
@ExcelProperty("单据号") |
||||
|
private String number; |
||||
|
|
||||
|
@ExcelProperty("采购收货记录单号") |
||||
|
private String purchaseReceiptRecordNumber; |
||||
|
|
||||
|
@ExcelProperty("订单号") |
||||
|
private String poNumber; |
||||
|
|
||||
|
@ExcelProperty("订单行") |
||||
|
private String poLine; |
||||
|
|
||||
|
@ExcelProperty("物品代码") |
||||
|
private String itemCode; |
||||
|
|
||||
|
@ExcelProperty("包装号") |
||||
|
private String packingNumber; |
||||
|
|
||||
|
@ExcelProperty("器具号") |
||||
|
private String containerNumber; |
||||
|
|
||||
|
@ExcelProperty("批次") |
||||
|
private String batch; |
||||
|
|
||||
|
@ExcelProperty(value = "计量单位", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.UOM) |
||||
|
private String uom; |
||||
|
|
||||
|
@ExcelProperty(value = "库存状态", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.INVENTORY_STATUS) |
||||
|
private String inventoryStatus; |
||||
|
|
||||
|
@ExcelProperty("来源库位") |
||||
|
private String fromLocationCode; |
||||
|
} |
@ -1,12 +1,20 @@ |
|||||
package com.win.module.wms.controller.inspectRequest.vo; |
package com.win.module.wms.controller.inspectRequest.vo; |
||||
|
|
||||
|
import com.win.framework.excel.core.annotations.SubObject; |
||||
|
import com.win.module.wms.controller.purchasereturnRequest.vo.PurchasereturnRequestDetailCreateReqVO; |
||||
import lombok.*; |
import lombok.*; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
@Schema(description = "管理后台 - 检验申请主创建 Request VO") |
@Schema(description = "管理后台 - 检验申请主创建 Request VO") |
||||
@Data |
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
@EqualsAndHashCode(callSuper = true) |
||||
@ToString(callSuper = true) |
@ToString(callSuper = true) |
||||
public class InspectRequestMainCreateReqVO extends InspectRequestMainBaseVO { |
public class InspectRequestMainCreateReqVO extends InspectRequestMainBaseVO { |
||||
|
|
||||
|
@SubObject |
||||
|
@Schema(description = "子表数据") |
||||
|
private List<InspectRequestDetailCreateReqVO> subList; |
||||
|
|
||||
} |
} |
||||
|
@ -1,12 +1,19 @@ |
|||||
package com.win.module.wms.controller.inspectRequest.vo; |
package com.win.module.wms.controller.inspectRequest.vo; |
||||
|
|
||||
|
import com.win.framework.excel.core.annotations.SubObject; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.*; |
import lombok.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
@Schema(description = "管理后台 - 检验申请主更新 Request VO") |
@Schema(description = "管理后台 - 检验申请主更新 Request VO") |
||||
@Data |
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
@EqualsAndHashCode(callSuper = true) |
||||
@ToString(callSuper = true) |
@ToString(callSuper = true) |
||||
public class InspectRequestMainUpdateReqVO extends InspectRequestMainBaseVO { |
public class InspectRequestMainUpdateReqVO extends InspectRequestMainBaseVO { |
||||
|
|
||||
|
@SubObject |
||||
|
@Schema(description = "子表数据") |
||||
|
private List<InspectRequestDetailUpdateReqVO> subList; |
||||
|
|
||||
} |
} |
||||
|
@ -1,12 +1,19 @@ |
|||||
package com.win.module.wms.controller.inventorychangeRequest.vo; |
package com.win.module.wms.controller.inventorychangeRequest.vo; |
||||
|
|
||||
|
import com.win.framework.excel.core.annotations.SubObject; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.*; |
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
@Schema(description = "管理后台 - 库存修改申请主更新 Request VO") |
@Schema(description = "管理后台 - 库存修改申请主更新 Request VO") |
||||
@Data |
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
@EqualsAndHashCode(callSuper = true) |
||||
@ToString(callSuper = true) |
@ToString(callSuper = true) |
||||
public class InventorychangeRequestMainUpdateReqVO extends InventorychangeRequestMainBaseVO { |
public class InventorychangeRequestMainUpdateReqVO extends InventorychangeRequestMainBaseVO { |
||||
|
@SubObject |
||||
|
@Schema(description = "子表数据") |
||||
|
private List<InventorychangeRequestDetailUpdateReqVO> subList; |
||||
} |
} |
||||
|
@ -0,0 +1,25 @@ |
|||||
|
package com.win.module.wms.controller.productionreturnRequest.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 生产退料申请 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = true) |
||||
|
@ToString(callSuper = true) |
||||
|
public class ProductionreturnRequestImportErrorVO extends ProductionreturnRequestImportVO { |
||||
|
|
||||
|
@ExcelProperty(value = "导入状态", index = 0) |
||||
|
private String importStatus; |
||||
|
|
||||
|
@ExcelProperty(value = "导入说明", index = 1) |
||||
|
private String importRemark; |
||||
|
|
||||
|
} |
@ -0,0 +1,45 @@ |
|||||
|
package com.win.module.wms.controller.productionreturnRequest.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import com.win.framework.excel.core.annotations.DictFormat; |
||||
|
import com.win.framework.excel.core.convert.DictConvert; |
||||
|
import com.win.module.wms.enums.DictTypeConstants; |
||||
|
import lombok.AllArgsConstructor; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
import lombok.experimental.Accessors; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 生产退料申请子 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@AllArgsConstructor |
||||
|
@NoArgsConstructor |
||||
|
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
||||
|
public class ProductionreturnRequestImportVO { |
||||
|
|
||||
|
@ExcelProperty("单据号") |
||||
|
private String number; |
||||
|
|
||||
|
@ExcelProperty("车间代码") |
||||
|
private String workshopCode; |
||||
|
|
||||
|
@ExcelProperty("生产线代码") |
||||
|
private String productionLineCode; |
||||
|
|
||||
|
@ExcelProperty("工位代码") |
||||
|
private String workStationCode; |
||||
|
|
||||
|
@ExcelProperty("物品代码") |
||||
|
private String itemCode; |
||||
|
|
||||
|
@ExcelProperty("数量") |
||||
|
private String qty; |
||||
|
|
||||
|
@ExcelProperty(value = "计量单位", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.UOM) |
||||
|
private String uom; |
||||
|
} |
@ -1,12 +1,21 @@ |
|||||
package com.win.module.wms.controller.productionreturnRequest.vo; |
package com.win.module.wms.controller.productionreturnRequest.vo; |
||||
|
|
||||
|
import com.win.framework.excel.core.annotations.SubObject; |
||||
|
import com.win.module.wms.controller.putawayRequest.vo.PutawayRequestDetailCreateReqVO; |
||||
import lombok.*; |
import lombok.*; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
@Schema(description = "管理后台 - 生产退料申请主创建 Request VO") |
@Schema(description = "管理后台 - 生产退料申请主创建 Request VO") |
||||
@Data |
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
@EqualsAndHashCode(callSuper = true) |
||||
@ToString(callSuper = true) |
@ToString(callSuper = true) |
||||
public class ProductionreturnRequestMainCreateReqVO extends ProductionreturnRequestMainBaseVO { |
public class ProductionreturnRequestMainCreateReqVO extends ProductionreturnRequestMainBaseVO { |
||||
|
|
||||
|
|
||||
|
@SubObject |
||||
|
@Schema(description = "子表数据") |
||||
|
private List<ProductionreturnRequestDetailCreateReqVO> subList; |
||||
|
|
||||
} |
} |
||||
|
@ -0,0 +1,171 @@ |
|||||
|
package com.win.module.wms.controller.purchasereceiptRecord.vo; |
||||
|
|
||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
import lombok.Data; |
||||
|
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
|
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
import static com.win.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
||||
|
|
||||
|
/** |
||||
|
* 采购收货记录子 Base VO,提供给添加、修改、详细的子 VO 使用 |
||||
|
* 如果子 VO 存在差异的字段,请不要添加到这里,影响 Swagger 文档生成 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PurchaseshortageDetailBaseVO { |
||||
|
|
||||
|
@Schema(description = "从包装号", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
@NotNull(message = "从包装号不能为空") |
||||
|
private String fromPackingNumber; |
||||
|
|
||||
|
@Schema(description = "到包装号", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
@NotNull(message = "到包装号不能为空") |
||||
|
private String toPackingNumber; |
||||
|
|
||||
|
@Schema(description = "从器具号") |
||||
|
private String fromContainerNumber; |
||||
|
|
||||
|
@Schema(description = "到器具号") |
||||
|
private String toContainerNumber; |
||||
|
|
||||
|
@Schema(description = "从批次") |
||||
|
private String fromBatch; |
||||
|
|
||||
|
@Schema(description = "替代批次") |
||||
|
private String altBatch; |
||||
|
|
||||
|
@Schema(description = "到货日期", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
@NotNull(message = "到货日期不能为空") |
||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
||||
|
private LocalDateTime arriveDate; |
||||
|
|
||||
|
@Schema(description = "生产日期", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
@NotNull(message = "生产日期不能为空") |
||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
||||
|
private LocalDateTime produceDate; |
||||
|
|
||||
|
@Schema(description = "过期日期", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
@NotNull(message = "过期日期不能为空") |
||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
||||
|
private LocalDateTime expireDate; |
||||
|
|
||||
|
@Schema(description = "库存状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
||||
|
@NotNull(message = "库存状态不能为空") |
||||
|
private String inventoryStatus; |
||||
|
|
||||
|
@Schema(description = "从库位代码") |
||||
|
private String fromLocationCode; |
||||
|
|
||||
|
@Schema(description = "到库位代码") |
||||
|
private String toLocationCode; |
||||
|
|
||||
|
@Schema(description = "从库位组代码") |
||||
|
private String fromLocationGroupCode; |
||||
|
|
||||
|
@Schema(description = "到库位组代码") |
||||
|
private String toLocationGroupCode; |
||||
|
|
||||
|
@Schema(description = "从库区代码") |
||||
|
private String fromAreaCodes; |
||||
|
|
||||
|
@Schema(description = "到库区代码") |
||||
|
private String toAreaCodes; |
||||
|
|
||||
|
@Schema(description = "订单号", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
@NotNull(message = "订单号不能为空") |
||||
|
private String poNumber; |
||||
|
|
||||
|
@Schema(description = "订单行", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
@NotNull(message = "订单行不能为空") |
||||
|
private String poLine; |
||||
|
|
||||
|
@Schema(description = "标包数量", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
@NotNull(message = "标包数量不能为空") |
||||
|
private BigDecimal stdPackQty; |
||||
|
|
||||
|
@Schema(description = "标包单位", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
@NotNull(message = "标包单位不能为空") |
||||
|
private String stdPackUnit; |
||||
|
|
||||
|
@Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
@NotNull(message = "数量不能为空") |
||||
|
private BigDecimal qty; |
||||
|
|
||||
|
@Schema(description = "单位") |
||||
|
private String uom; |
||||
|
|
||||
|
@Schema(description = "供应商计量数量") |
||||
|
private BigDecimal supplierQty; |
||||
|
|
||||
|
@Schema(description = "供应商计量单位") |
||||
|
private String supplierUom; |
||||
|
|
||||
|
@Schema(description = "转换率") |
||||
|
private BigDecimal convertRate; |
||||
|
|
||||
|
@Schema(description = "目检结果") |
||||
|
private String visualInspectResult; |
||||
|
|
||||
|
@Schema(description = "目检照片") |
||||
|
private String visualInspectPhotos; |
||||
|
|
||||
|
@Schema(description = "不合格原因", example = "不对") |
||||
|
private String failedReason; |
||||
|
|
||||
|
@Schema(description = "单价", example = "25384") |
||||
|
private BigDecimal singlePrice; |
||||
|
|
||||
|
@Schema(description = "金额") |
||||
|
private BigDecimal amount; |
||||
|
|
||||
|
@Schema(description = "任务明细ID", example = "20190") |
||||
|
private String jobDetailId; |
||||
|
|
||||
|
@Schema(description = "物品代码", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
@NotNull(message = "物品代码不能为空") |
||||
|
private String itemCode; |
||||
|
|
||||
|
@Schema(description = "物品名称", example = "赵六") |
||||
|
private String itemName; |
||||
|
|
||||
|
@Schema(description = "物品描述1") |
||||
|
private String itemDesc1; |
||||
|
|
||||
|
@Schema(description = "物品描述2") |
||||
|
private String itemDesc2; |
||||
|
|
||||
|
@Schema(description = "主表ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30925") |
||||
|
@NotNull(message = "主表ID不能为空") |
||||
|
private Long masterId; |
||||
|
|
||||
|
@Schema(description = "单据号") |
||||
|
private String number; |
||||
|
|
||||
|
@Schema(description = "备注", example = "随便") |
||||
|
private String remark; |
||||
|
|
||||
|
@Schema(description = "地点ID", example = "25612") |
||||
|
private String siteId; |
||||
|
|
||||
|
@Schema(description = "项目代码") |
||||
|
private String projectCode; |
||||
|
|
||||
|
@Schema(description = "代码") |
||||
|
private String code; |
||||
|
|
||||
|
@Schema(description = "接口类型", example = "1") |
||||
|
private String interfaceType; |
||||
|
|
||||
|
@Schema(description = "从货主代码") |
||||
|
private String fromOwnerCode; |
||||
|
|
||||
|
@Schema(description = "到货主代码") |
||||
|
private String toOwnerCode; |
||||
|
|
||||
|
@Schema(description = "到批次") |
||||
|
private String toBatch; |
||||
|
|
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
package com.win.module.wms.controller.purchasereceiptRecord.vo; |
||||
|
|
||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
@Schema(description = "管理后台 - 采购收货记录子创建 Request VO") |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = true) |
||||
|
@ToString(callSuper = true) |
||||
|
public class PurchaseshortageDetailCreateReqVO extends PurchaseshortageDetailBaseVO { |
||||
|
|
||||
|
} |
@ -0,0 +1,158 @@ |
|||||
|
package com.win.module.wms.controller.purchasereceiptRecord.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
/** |
||||
|
* 采购收货记录子 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PurchaseshortageDetailExcelVO { |
||||
|
|
||||
|
@ExcelProperty("id") |
||||
|
private Long id; |
||||
|
|
||||
|
@ExcelProperty("从包装号") |
||||
|
private String fromPackingNumber; |
||||
|
|
||||
|
@ExcelProperty("到包装号") |
||||
|
private String toPackingNumber; |
||||
|
|
||||
|
@ExcelProperty("从器具号") |
||||
|
private String fromContainerNumber; |
||||
|
|
||||
|
@ExcelProperty("到器具号") |
||||
|
private String toContainerNumber; |
||||
|
|
||||
|
@ExcelProperty("从批次") |
||||
|
private String fromBatch; |
||||
|
|
||||
|
@ExcelProperty("替代批次") |
||||
|
private String altBatch; |
||||
|
|
||||
|
@ExcelProperty("到货日期") |
||||
|
private LocalDateTime arriveDate; |
||||
|
|
||||
|
@ExcelProperty("生产日期") |
||||
|
private LocalDateTime produceDate; |
||||
|
|
||||
|
@ExcelProperty("过期日期") |
||||
|
private LocalDateTime expireDate; |
||||
|
|
||||
|
@ExcelProperty("库存状态") |
||||
|
private String inventoryStatus; |
||||
|
|
||||
|
@ExcelProperty("从库位代码") |
||||
|
private String fromLocationCode; |
||||
|
|
||||
|
@ExcelProperty("到库位代码") |
||||
|
private String toLocationCode; |
||||
|
|
||||
|
@ExcelProperty("从库位组代码") |
||||
|
private String fromLocationGroupCode; |
||||
|
|
||||
|
@ExcelProperty("到库位组代码") |
||||
|
private String toLocationGroupCode; |
||||
|
|
||||
|
@ExcelProperty("从库区代码") |
||||
|
private String fromAreaCodes; |
||||
|
|
||||
|
@ExcelProperty("到库区代码") |
||||
|
private String toAreaCodes; |
||||
|
|
||||
|
@ExcelProperty("订单号") |
||||
|
private String poNumber; |
||||
|
|
||||
|
@ExcelProperty("订单行") |
||||
|
private String poLine; |
||||
|
|
||||
|
@ExcelProperty("标包数量") |
||||
|
private BigDecimal stdPackQty; |
||||
|
|
||||
|
@ExcelProperty("标包单位") |
||||
|
private String stdPackUnit; |
||||
|
|
||||
|
@ExcelProperty("数量") |
||||
|
private BigDecimal qty; |
||||
|
|
||||
|
@ExcelProperty("单位") |
||||
|
private String uom; |
||||
|
|
||||
|
@ExcelProperty("供应商计量数量") |
||||
|
private BigDecimal supplierQty; |
||||
|
|
||||
|
@ExcelProperty("供应商计量单位") |
||||
|
private String supplierUom; |
||||
|
|
||||
|
@ExcelProperty("转换率") |
||||
|
private BigDecimal convertRate; |
||||
|
|
||||
|
@ExcelProperty("目检结果") |
||||
|
private String visualInspectResult; |
||||
|
|
||||
|
@ExcelProperty("目检照片") |
||||
|
private String visualInspectPhotos; |
||||
|
|
||||
|
@ExcelProperty("不合格原因") |
||||
|
private String failedReason; |
||||
|
|
||||
|
@ExcelProperty("单价") |
||||
|
private BigDecimal singlePrice; |
||||
|
|
||||
|
@ExcelProperty("金额") |
||||
|
private BigDecimal amount; |
||||
|
|
||||
|
@ExcelProperty("任务明细ID") |
||||
|
private String jobDetailId; |
||||
|
|
||||
|
@ExcelProperty("物品代码") |
||||
|
private String itemCode; |
||||
|
|
||||
|
@ExcelProperty("物品名称") |
||||
|
private String itemName; |
||||
|
|
||||
|
@ExcelProperty("物品描述1") |
||||
|
private String itemDesc1; |
||||
|
|
||||
|
@ExcelProperty("物品描述2") |
||||
|
private String itemDesc2; |
||||
|
|
||||
|
@ExcelProperty("主表ID") |
||||
|
private Long masterId; |
||||
|
|
||||
|
@ExcelProperty("单据号") |
||||
|
private String number; |
||||
|
|
||||
|
@ExcelProperty("备注") |
||||
|
private String remark; |
||||
|
|
||||
|
@ExcelProperty("创建时间") |
||||
|
private LocalDateTime createTime; |
||||
|
|
||||
|
@ExcelProperty("地点ID") |
||||
|
private String siteId; |
||||
|
|
||||
|
@ExcelProperty("项目代码") |
||||
|
private String projectCode; |
||||
|
|
||||
|
@ExcelProperty("代码") |
||||
|
private String code; |
||||
|
|
||||
|
@ExcelProperty("接口类型") |
||||
|
private String interfaceType; |
||||
|
|
||||
|
@ExcelProperty("从货主代码") |
||||
|
private String fromOwnerCode; |
||||
|
|
||||
|
@ExcelProperty("到货主代码") |
||||
|
private String toOwnerCode; |
||||
|
|
||||
|
@ExcelProperty("到批次") |
||||
|
private String toBatch; |
||||
|
|
||||
|
} |
@ -0,0 +1,158 @@ |
|||||
|
package com.win.module.wms.controller.purchasereceiptRecord.vo; |
||||
|
|
||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
import lombok.Data; |
||||
|
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
import static com.win.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
||||
|
|
||||
|
@Schema(description = "管理后台 - 采购收货记录子 Excel 导出 Request VO,参数和 PurchaseshortageDetailPageReqVO 是一致的") |
||||
|
@Data |
||||
|
public class PurchaseshortageDetailExportReqVO { |
||||
|
|
||||
|
@Schema(description = "从包装号") |
||||
|
private String fromPackingNumber; |
||||
|
|
||||
|
@Schema(description = "到包装号") |
||||
|
private String toPackingNumber; |
||||
|
|
||||
|
@Schema(description = "从器具号") |
||||
|
private String fromContainerNumber; |
||||
|
|
||||
|
@Schema(description = "到器具号") |
||||
|
private String toContainerNumber; |
||||
|
|
||||
|
@Schema(description = "从批次") |
||||
|
private String fromBatch; |
||||
|
|
||||
|
@Schema(description = "替代批次") |
||||
|
private String altBatch; |
||||
|
|
||||
|
@Schema(description = "到货日期") |
||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
||||
|
private LocalDateTime[] arriveDate; |
||||
|
|
||||
|
@Schema(description = "生产日期") |
||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
||||
|
private LocalDateTime[] produceDate; |
||||
|
|
||||
|
@Schema(description = "过期日期") |
||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
||||
|
private LocalDateTime[] expireDate; |
||||
|
|
||||
|
@Schema(description = "库存状态", example = "1") |
||||
|
private String inventoryStatus; |
||||
|
|
||||
|
@Schema(description = "从库位代码") |
||||
|
private String fromLocationCode; |
||||
|
|
||||
|
@Schema(description = "到库位代码") |
||||
|
private String toLocationCode; |
||||
|
|
||||
|
@Schema(description = "从库位组代码") |
||||
|
private String fromLocationGroupCode; |
||||
|
|
||||
|
@Schema(description = "到库位组代码") |
||||
|
private String toLocationGroupCode; |
||||
|
|
||||
|
@Schema(description = "从库区代码") |
||||
|
private String fromAreaCodes; |
||||
|
|
||||
|
@Schema(description = "到库区代码") |
||||
|
private String toAreaCodes; |
||||
|
|
||||
|
@Schema(description = "订单号") |
||||
|
private String poNumber; |
||||
|
|
||||
|
@Schema(description = "订单行") |
||||
|
private String poLine; |
||||
|
|
||||
|
@Schema(description = "标包数量") |
||||
|
private BigDecimal stdPackQty; |
||||
|
|
||||
|
@Schema(description = "标包单位") |
||||
|
private String stdPackUnit; |
||||
|
|
||||
|
@Schema(description = "数量") |
||||
|
private BigDecimal qty; |
||||
|
|
||||
|
@Schema(description = "单位") |
||||
|
private String uom; |
||||
|
|
||||
|
@Schema(description = "供应商计量数量") |
||||
|
private BigDecimal supplierQty; |
||||
|
|
||||
|
@Schema(description = "供应商计量单位") |
||||
|
private String supplierUom; |
||||
|
|
||||
|
@Schema(description = "转换率") |
||||
|
private BigDecimal convertRate; |
||||
|
|
||||
|
@Schema(description = "目检结果") |
||||
|
private String visualInspectResult; |
||||
|
|
||||
|
@Schema(description = "目检照片") |
||||
|
private String visualInspectPhotos; |
||||
|
|
||||
|
@Schema(description = "不合格原因", example = "不对") |
||||
|
private String failedReason; |
||||
|
|
||||
|
@Schema(description = "单价", example = "25384") |
||||
|
private BigDecimal singlePrice; |
||||
|
|
||||
|
@Schema(description = "金额") |
||||
|
private BigDecimal amount; |
||||
|
|
||||
|
@Schema(description = "任务明细ID", example = "20190") |
||||
|
private String jobDetailId; |
||||
|
|
||||
|
@Schema(description = "物品代码") |
||||
|
private String itemCode; |
||||
|
|
||||
|
@Schema(description = "物品名称", example = "赵六") |
||||
|
private String itemName; |
||||
|
|
||||
|
@Schema(description = "物品描述1") |
||||
|
private String itemDesc1; |
||||
|
|
||||
|
@Schema(description = "物品描述2") |
||||
|
private String itemDesc2; |
||||
|
|
||||
|
@Schema(description = "主表ID", example = "30925") |
||||
|
private Long masterId; |
||||
|
|
||||
|
@Schema(description = "单据号") |
||||
|
private String number; |
||||
|
|
||||
|
@Schema(description = "备注", example = "随便") |
||||
|
private String remark; |
||||
|
|
||||
|
@Schema(description = "创建时间") |
||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
||||
|
private LocalDateTime[] createTime; |
||||
|
|
||||
|
@Schema(description = "地点ID", example = "25612") |
||||
|
private String siteId; |
||||
|
|
||||
|
@Schema(description = "项目代码") |
||||
|
private String projectCode; |
||||
|
|
||||
|
@Schema(description = "代码") |
||||
|
private String code; |
||||
|
|
||||
|
@Schema(description = "接口类型", example = "1") |
||||
|
private String interfaceType; |
||||
|
|
||||
|
@Schema(description = "从货主代码") |
||||
|
private String fromOwnerCode; |
||||
|
|
||||
|
@Schema(description = "到货主代码") |
||||
|
private String toOwnerCode; |
||||
|
|
||||
|
@Schema(description = "到批次") |
||||
|
private String toBatch; |
||||
|
|
||||
|
} |
@ -0,0 +1,163 @@ |
|||||
|
package com.win.module.wms.controller.purchasereceiptRecord.vo; |
||||
|
|
||||
|
import com.win.framework.common.pojo.PageParam; |
||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
import lombok.ToString; |
||||
|
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
import static com.win.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
||||
|
|
||||
|
@Schema(description = "管理后台 - 采购收货记录子分页 Request VO") |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = true) |
||||
|
@ToString(callSuper = true) |
||||
|
public class PurchaseshortageDetailPageReqVO extends PageParam { |
||||
|
|
||||
|
@Schema(description = "从包装号") |
||||
|
private String fromPackingNumber; |
||||
|
|
||||
|
@Schema(description = "到包装号") |
||||
|
private String toPackingNumber; |
||||
|
|
||||
|
@Schema(description = "从器具号") |
||||
|
private String fromContainerNumber; |
||||
|
|
||||
|
@Schema(description = "到器具号") |
||||
|
private String toContainerNumber; |
||||
|
|
||||
|
@Schema(description = "从批次") |
||||
|
private String fromBatch; |
||||
|
|
||||
|
@Schema(description = "替代批次") |
||||
|
private String altBatch; |
||||
|
|
||||
|
@Schema(description = "到货日期") |
||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
||||
|
private LocalDateTime[] arriveDate; |
||||
|
|
||||
|
@Schema(description = "生产日期") |
||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
||||
|
private LocalDateTime[] produceDate; |
||||
|
|
||||
|
@Schema(description = "过期日期") |
||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
||||
|
private LocalDateTime[] expireDate; |
||||
|
|
||||
|
@Schema(description = "库存状态", example = "1") |
||||
|
private String inventoryStatus; |
||||
|
|
||||
|
@Schema(description = "从库位代码") |
||||
|
private String fromLocationCode; |
||||
|
|
||||
|
@Schema(description = "到库位代码") |
||||
|
private String toLocationCode; |
||||
|
|
||||
|
@Schema(description = "从库位组代码") |
||||
|
private String fromLocationGroupCode; |
||||
|
|
||||
|
@Schema(description = "到库位组代码") |
||||
|
private String toLocationGroupCode; |
||||
|
|
||||
|
@Schema(description = "从库区代码") |
||||
|
private String fromAreaCodes; |
||||
|
|
||||
|
@Schema(description = "到库区代码") |
||||
|
private String toAreaCodes; |
||||
|
|
||||
|
@Schema(description = "订单号") |
||||
|
private String poNumber; |
||||
|
|
||||
|
@Schema(description = "订单行") |
||||
|
private String poLine; |
||||
|
|
||||
|
@Schema(description = "标包数量") |
||||
|
private BigDecimal stdPackQty; |
||||
|
|
||||
|
@Schema(description = "标包单位") |
||||
|
private String stdPackUnit; |
||||
|
|
||||
|
@Schema(description = "数量") |
||||
|
private BigDecimal qty; |
||||
|
|
||||
|
@Schema(description = "单位") |
||||
|
private String uom; |
||||
|
|
||||
|
@Schema(description = "供应商计量数量") |
||||
|
private BigDecimal supplierQty; |
||||
|
|
||||
|
@Schema(description = "供应商计量单位") |
||||
|
private String supplierUom; |
||||
|
|
||||
|
@Schema(description = "转换率") |
||||
|
private BigDecimal convertRate; |
||||
|
|
||||
|
@Schema(description = "目检结果") |
||||
|
private String visualInspectResult; |
||||
|
|
||||
|
@Schema(description = "目检照片") |
||||
|
private String visualInspectPhotos; |
||||
|
|
||||
|
@Schema(description = "不合格原因", example = "不对") |
||||
|
private String failedReason; |
||||
|
|
||||
|
@Schema(description = "单价", example = "25384") |
||||
|
private BigDecimal singlePrice; |
||||
|
|
||||
|
@Schema(description = "金额") |
||||
|
private BigDecimal amount; |
||||
|
|
||||
|
@Schema(description = "任务明细ID", example = "20190") |
||||
|
private String jobDetailId; |
||||
|
|
||||
|
@Schema(description = "物品代码") |
||||
|
private String itemCode; |
||||
|
|
||||
|
@Schema(description = "物品名称", example = "赵六") |
||||
|
private String itemName; |
||||
|
|
||||
|
@Schema(description = "物品描述1") |
||||
|
private String itemDesc1; |
||||
|
|
||||
|
@Schema(description = "物品描述2") |
||||
|
private String itemDesc2; |
||||
|
|
||||
|
@Schema(description = "主表ID", example = "30925") |
||||
|
private Long masterId; |
||||
|
|
||||
|
@Schema(description = "单据号") |
||||
|
private String number; |
||||
|
|
||||
|
@Schema(description = "备注", example = "随便") |
||||
|
private String remark; |
||||
|
|
||||
|
@Schema(description = "创建时间") |
||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
||||
|
private LocalDateTime[] createTime; |
||||
|
|
||||
|
@Schema(description = "地点ID", example = "25612") |
||||
|
private String siteId; |
||||
|
|
||||
|
@Schema(description = "项目代码") |
||||
|
private String projectCode; |
||||
|
|
||||
|
@Schema(description = "代码") |
||||
|
private String code; |
||||
|
|
||||
|
@Schema(description = "接口类型", example = "1") |
||||
|
private String interfaceType; |
||||
|
|
||||
|
@Schema(description = "从货主代码") |
||||
|
private String fromOwnerCode; |
||||
|
|
||||
|
@Schema(description = "到货主代码") |
||||
|
private String toOwnerCode; |
||||
|
|
||||
|
@Schema(description = "到批次") |
||||
|
private String toBatch; |
||||
|
|
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package com.win.module.wms.controller.purchasereceiptRecord.vo; |
||||
|
|
||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
import lombok.*; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
@Schema(description = "管理后台 - 采购收货记录子 Response VO") |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = true) |
||||
|
@ToString(callSuper = true) |
||||
|
public class PurchaseshortageDetailRespVO extends PurchaseshortageDetailBaseVO { |
||||
|
|
||||
|
@Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26980") |
||||
|
private Long id; |
||||
|
|
||||
|
@Schema(description = "创建时间") |
||||
|
private LocalDateTime createTime; |
||||
|
|
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
package com.win.module.wms.controller.purchasereceiptRecord.vo; |
||||
|
|
||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
import javax.validation.constraints.NotNull; |
||||
|
|
||||
|
@Schema(description = "管理后台 - 采购收货记录子更新 Request VO") |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = true) |
||||
|
@ToString(callSuper = true) |
||||
|
public class PurchaseshortageDetailUpdateReqVO extends PurchaseshortageDetailBaseVO { |
||||
|
|
||||
|
@Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26980") |
||||
|
@NotNull(message = "id不能为空") |
||||
|
private Long id; |
||||
|
|
||||
|
} |
@ -0,0 +1,25 @@ |
|||||
|
package com.win.module.wms.controller.purchasereturnRequest.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 供应商发票申请 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = true) |
||||
|
@ToString(callSuper = true) |
||||
|
public class PurchasereturnRequestImportErrorVO extends PurchasereturnRequestImportVO { |
||||
|
|
||||
|
@ExcelProperty(value = "导入状态", index = 0) |
||||
|
private String importStatus; |
||||
|
|
||||
|
@ExcelProperty(value = "导入说明", index = 1) |
||||
|
private String importRemark; |
||||
|
|
||||
|
} |
@ -0,0 +1,81 @@ |
|||||
|
package com.win.module.wms.controller.purchasereturnRequest.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import com.win.framework.excel.core.annotations.DictFormat; |
||||
|
import com.win.framework.excel.core.convert.DictConvert; |
||||
|
import com.win.module.wms.enums.DictTypeConstants; |
||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
import lombok.AllArgsConstructor; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
import lombok.experimental.Accessors; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 供应商发票申请子 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@AllArgsConstructor |
||||
|
@NoArgsConstructor |
||||
|
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
||||
|
public class PurchasereturnRequestImportVO { |
||||
|
|
||||
|
@ExcelProperty("单据号") |
||||
|
private String number; |
||||
|
|
||||
|
@ExcelProperty("采购收货记录单号") |
||||
|
private String purchaseReceiptRecordNumber; |
||||
|
|
||||
|
@ExcelProperty("供应商代码") |
||||
|
private String supplierCode; |
||||
|
|
||||
|
@ExcelProperty("订单号") |
||||
|
private String poNumber; |
||||
|
|
||||
|
@ExcelProperty("订单行") |
||||
|
private String poLine; |
||||
|
|
||||
|
@ExcelProperty("物品代码") |
||||
|
private String itemCode; |
||||
|
|
||||
|
@ExcelProperty("包装号") |
||||
|
private String packingNumber; |
||||
|
|
||||
|
@ExcelProperty("器具号") |
||||
|
private String containerNumber; |
||||
|
|
||||
|
@ExcelProperty("批次") |
||||
|
private String batch; |
||||
|
|
||||
|
@ExcelProperty("数量") |
||||
|
private BigDecimal qty; |
||||
|
|
||||
|
@ExcelProperty(value = "计量单位", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.UOM) |
||||
|
private String uom; |
||||
|
|
||||
|
@ExcelProperty(value = "库存状态", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.INVENTORY_STATUS) |
||||
|
private String inventoryStatus; |
||||
|
|
||||
|
@ExcelProperty("来源库位") |
||||
|
private String fromLocationCode; |
||||
|
|
||||
|
@ExcelProperty(value = "原因", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.PURCHASE_RETURN_REASON) |
||||
|
private String reason; |
||||
|
|
||||
|
@ExcelProperty("承运商") |
||||
|
private String carrierCode; |
||||
|
|
||||
|
@ExcelProperty(value = "运输方式", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.TRANSFER_MODE) |
||||
|
private String transferMode; |
||||
|
|
||||
|
@ExcelProperty("车牌号") |
||||
|
private String vehiclePlateNumber; |
||||
|
} |
@ -1,12 +1,19 @@ |
|||||
package com.win.module.wms.controller.purchasereturnRequest.vo; |
package com.win.module.wms.controller.purchasereturnRequest.vo; |
||||
|
|
||||
|
import com.win.framework.excel.core.annotations.SubObject; |
||||
import lombok.*; |
import lombok.*; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
@Schema(description = "管理后台 - 采购退货申请主创建 Request VO") |
@Schema(description = "管理后台 - 采购退货申请主创建 Request VO") |
||||
@Data |
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
@EqualsAndHashCode(callSuper = true) |
||||
@ToString(callSuper = true) |
@ToString(callSuper = true) |
||||
public class PurchasereturnRequestMainCreateReqVO extends PurchasereturnRequestMainBaseVO { |
public class PurchasereturnRequestMainCreateReqVO extends PurchasereturnRequestMainBaseVO { |
||||
|
|
||||
|
@SubObject |
||||
|
@Schema(description = "子表数据") |
||||
|
private List<PurchasereturnRequestDetailCreateReqVO> subList; |
||||
|
|
||||
} |
} |
||||
|
@ -1,12 +1,18 @@ |
|||||
package com.win.module.wms.controller.purchasereturnRequest.vo; |
package com.win.module.wms.controller.purchasereturnRequest.vo; |
||||
|
|
||||
|
import com.win.framework.excel.core.annotations.SubObject; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.*; |
import lombok.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
@Schema(description = "管理后台 - 采购退货申请主更新 Request VO") |
@Schema(description = "管理后台 - 采购退货申请主更新 Request VO") |
||||
@Data |
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
@EqualsAndHashCode(callSuper = true) |
||||
@ToString(callSuper = true) |
@ToString(callSuper = true) |
||||
public class PurchasereturnRequestMainUpdateReqVO extends PurchasereturnRequestMainBaseVO { |
public class PurchasereturnRequestMainUpdateReqVO extends PurchasereturnRequestMainBaseVO { |
||||
|
@SubObject |
||||
|
@Schema(description = "子表数据") |
||||
|
private List<PurchasereturnRequestDetailUpdateReqVO> subList; |
||||
|
|
||||
} |
} |
||||
|
@ -0,0 +1,25 @@ |
|||||
|
package com.win.module.wms.controller.putawayRequest.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 供应商发票申请 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = true) |
||||
|
@ToString(callSuper = true) |
||||
|
public class PutawayRequestImportErrorVO extends PutawayRequestImportVO { |
||||
|
|
||||
|
@ExcelProperty(value = "导入状态", index = 0) |
||||
|
private String importStatus; |
||||
|
|
||||
|
@ExcelProperty(value = "导入说明", index = 1) |
||||
|
private String importRemark; |
||||
|
|
||||
|
} |
@ -0,0 +1,63 @@ |
|||||
|
package com.win.module.wms.controller.putawayRequest.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import com.win.framework.excel.core.annotations.DictFormat; |
||||
|
import com.win.framework.excel.core.convert.DictConvert; |
||||
|
import com.win.module.wms.enums.DictTypeConstants; |
||||
|
import lombok.AllArgsConstructor; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
import lombok.experimental.Accessors; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 上架申请 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@AllArgsConstructor |
||||
|
@NoArgsConstructor |
||||
|
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
||||
|
public class PutawayRequestImportVO { |
||||
|
|
||||
|
@ExcelProperty("单据号") |
||||
|
private String number; |
||||
|
|
||||
|
@ExcelProperty("供应商代码") |
||||
|
private String supplierCode; |
||||
|
|
||||
|
@ExcelProperty("订单号") |
||||
|
private String poNumber; |
||||
|
|
||||
|
@ExcelProperty("订单行") |
||||
|
private String poLine; |
||||
|
|
||||
|
@ExcelProperty("物品代码") |
||||
|
private String itemCode; |
||||
|
|
||||
|
@ExcelProperty("包装号") |
||||
|
private String packingNumber; |
||||
|
|
||||
|
@ExcelProperty("器具号") |
||||
|
private String containerNumber; |
||||
|
|
||||
|
@ExcelProperty("批次") |
||||
|
private String batch; |
||||
|
|
||||
|
@ExcelProperty(value = "库存状态", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.INVENTORY_STATUS) |
||||
|
private String inventoryStatus; |
||||
|
|
||||
|
@ExcelProperty("数量") |
||||
|
private BigDecimal qty; |
||||
|
|
||||
|
@ExcelProperty(value = "计量单位", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.UOM) |
||||
|
private String uom; |
||||
|
|
||||
|
@ExcelProperty("来源库位") |
||||
|
private String fromLocationCode; |
||||
|
} |
@ -1,12 +1,19 @@ |
|||||
package com.win.module.wms.controller.putawayRequest.vo; |
package com.win.module.wms.controller.putawayRequest.vo; |
||||
|
|
||||
|
import com.win.framework.excel.core.annotations.SubObject; |
||||
import lombok.*; |
import lombok.*; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
@Schema(description = "管理后台 - 上架申请主创建 Request VO") |
@Schema(description = "管理后台 - 上架申请主创建 Request VO") |
||||
@Data |
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
@EqualsAndHashCode(callSuper = true) |
||||
@ToString(callSuper = true) |
@ToString(callSuper = true) |
||||
public class PutawayRequestMainCreateReqVO extends PutawayRequestMainBaseVO { |
public class PutawayRequestMainCreateReqVO extends PutawayRequestMainBaseVO { |
||||
|
|
||||
|
@SubObject |
||||
|
@Schema(description = "子表数据") |
||||
|
private List<PutawayRequestDetailCreateReqVO> subList; |
||||
|
|
||||
} |
} |
||||
|
@ -1,12 +1,18 @@ |
|||||
package com.win.module.wms.controller.putawayRequest.vo; |
package com.win.module.wms.controller.putawayRequest.vo; |
||||
|
|
||||
|
import com.win.framework.excel.core.annotations.SubObject; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.*; |
import lombok.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
@Schema(description = "管理后台 - 上架申请主更新 Request VO") |
@Schema(description = "管理后台 - 上架申请主更新 Request VO") |
||||
@Data |
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
@EqualsAndHashCode(callSuper = true) |
||||
@ToString(callSuper = true) |
@ToString(callSuper = true) |
||||
public class PutawayRequestMainUpdateReqVO extends PutawayRequestMainBaseVO { |
public class PutawayRequestMainUpdateReqVO extends PutawayRequestMainBaseVO { |
||||
|
@SubObject |
||||
|
@Schema(description = "子表数据") |
||||
|
private List<PutawayRequestDetailUpdateReqVO> subList; |
||||
|
|
||||
} |
} |
||||
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue