fix(智慧超市):库存商品分页修复查重,允许超卖,后续入库
This commit is contained in:
1 parent
20f183b131
commit
f38cf9c02c
1 file changed
+69
+69
@@ -0,0 +1,69 @@
|
||||
package com.bsd.pjcloud.supermarket.dto.erpspu;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 新的商品导入DTO(用于测试)
|
||||
* 参考图片数据结构,但根据实际系统字段调整
|
||||
*/
|
||||
@Data
|
||||
public class SmErpSpuImportNewDto {
|
||||
@ExcelProperty("货号")
|
||||
private String productCode; // 货号
|
||||
|
||||
@ExcelProperty("自编码/条码")
|
||||
private String barCode; // 自编码/条码
|
||||
|
||||
@ExcelProperty("商品名称")
|
||||
private String productName; // 商品名称
|
||||
|
||||
@ExcelProperty("单位")
|
||||
private String unit; // 单位
|
||||
|
||||
@ExcelProperty("产地")
|
||||
private String origin; // 产地
|
||||
|
||||
@ExcelProperty("规格")
|
||||
private String spec; // 规格
|
||||
|
||||
@ExcelProperty("库存")
|
||||
private Double stock; // 库存
|
||||
|
||||
@ExcelProperty("分类")
|
||||
private String categoryName; // 分类
|
||||
|
||||
@ExcelProperty("装数")
|
||||
private Integer packageNum; // 内装数量
|
||||
|
||||
@ExcelProperty("进价")
|
||||
private Double purchasePrice; // 进价
|
||||
|
||||
@ExcelProperty("零售价")
|
||||
private Double retailPrice; // 零售价
|
||||
|
||||
@ExcelProperty("货商")
|
||||
private String supplierName; // 货商
|
||||
|
||||
@ExcelProperty("促销价")
|
||||
private Double promotionPrice; // 促销价
|
||||
|
||||
@ExcelProperty("商品性质")
|
||||
private String productNature; // 商品性质
|
||||
|
||||
@ExcelProperty("成本单价")
|
||||
private Double costPrice; // 成本单价
|
||||
|
||||
@ExcelProperty("库存上限")
|
||||
private Integer inventoryUpperLimit; // 库存上限
|
||||
|
||||
@ExcelProperty("库存下限")
|
||||
private Integer inventoryLowerLimit; // 库存下限
|
||||
|
||||
@ExcelProperty("商品状态")
|
||||
private String status; // 商品状态(0-正常,1-停售)
|
||||
|
||||
// 注释品牌字段,暂时不使用
|
||||
// @ExcelProperty("品牌")
|
||||
// private String brand; // 品牌
|
||||
}
|
||||
Reference in new issue
Block a user