.
18516761980
2022-03-19 9ff5e64187837a3bbd78370c1cfaadf2329f97f0
src/main/java/zy/cloud/wms/manager/entity/OrderDetl.java
@@ -7,6 +7,9 @@
import com.core.common.Cools;
import com.core.common.SpringUtils;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import zy.cloud.wms.manager.service.OrderService;
import zy.cloud.wms.system.entity.Host;
import zy.cloud.wms.system.entity.User;
@@ -17,6 +20,9 @@
import java.text.SimpleDateFormat;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("man_order_detl")
public class OrderDetl implements Serializable {
@@ -42,6 +48,13 @@
    @ApiModelProperty(value= "订单内码")
    @TableField("order_id")
    private Long orderId;
    /**
     * 订单编号
     */
    @ApiModelProperty(value= "订单编号")
    @TableField("order_no")
    private String orderNo;
    /**
     * 数量
@@ -169,56 +182,32 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    public OrderDetl() {}
    public OrderDetl(Long hostId, Long orderId,Double anfme,String matnr,String maktx,String name,String specs,String model,String batch,String unit,String barcode,String supplier,Double unitPrice,Integer itemNum,Integer count,Double weight,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
        this.hostId = hostId;
        this.orderId = orderId;
        this.anfme = anfme;
        this.matnr = matnr;
        this.maktx = maktx;
        this.name = name;
        this.specs = specs;
        this.model = model;
        this.batch = batch;
        this.unit = unit;
        this.barcode = barcode;
        this.supplier = supplier;
        this.unitPrice = unitPrice;
        this.itemNum = itemNum;
        this.count = count;
        this.weight = weight;
        this.status = status;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.memo = memo;
    }
//    OrderDetl orderDetl = new OrderDetl(
//            null,    // 订单内码
//            null,    // 数量
//            null,    // 商品编码
//            null,    // 商品名称
//            null,    // 名称
//            null,    // 规格
//            null,    // 型号
//            null,    // 批号
//            null,    // 单位
//            null,    // 商品条码
//            null,    // 供应商
//            null,    // 单价
//            null,    // 品项数
//            null,    // 数量
//            null,    // 重量
//            null,    // 状态
//            null,    // 添加人员
//            null,    // 添加时间
//            null,    // 修改人员
//            null,    // 修改时间
//            null    // 备注
//    );
//    public OrderDetl() {}
//
//    public OrderDetl(Long hostId, Long orderId,Double anfme,String matnr,String maktx,String name,String specs,String model,String batch,String unit,String barcode,String supplier,Double unitPrice,Integer itemNum,Integer count,Double weight,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
//        this.hostId = hostId;
//        this.orderId = orderId;
//        this.anfme = anfme;
//        this.matnr = matnr;
//        this.maktx = maktx;
//        this.name = name;
//        this.specs = specs;
//        this.model = model;
//        this.batch = batch;
//        this.unit = unit;
//        this.barcode = barcode;
//        this.supplier = supplier;
//        this.unitPrice = unitPrice;
//        this.itemNum = itemNum;
//        this.count = count;
//        this.weight = weight;
//        this.status = status;
//        this.createBy = createBy;
//        this.createTime = createTime;
//        this.updateBy = updateBy;
//        this.updateTime = updateTime;
//        this.memo = memo;
//    }
    public Long getId() {
        return id;
@@ -262,6 +251,14 @@
        this.orderId = orderId;
    }
    public String getOrderNo() {
        return orderNo;
    }
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public Double getAnfme() {
        return anfme;
    }