| | |
| | | /** |
| | | * 商品编号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "变更商品编号") |
| | | private String matnr; |
| | | |
| | | /** |
| | | * 商品编号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @TableField("matnr_old") |
| | | private String matnrOld; |
| | | |
| | | /** |
| | | * 批号 |
| | |
| | | @TableField("appe_time") |
| | | private Date appeTime; |
| | | |
| | | /** |
| | | * 订单号 |
| | | */ |
| | | @ApiModelProperty(value= "订单号") |
| | | @TableField("order_no") |
| | | private String orderNo; |
| | | |
| | | /** |
| | | * 扩充 |
| | | * "outOrderNo", "luHao", "packing", "sPgNO", "proType","color"}; |
| | | */ |
| | | @ApiModelProperty(value= "扩充") |
| | | @TableField("expand") |
| | | private String expand; |
| | | |
| | | public AdjDetl() {} |
| | | |
| | | public AdjDetl(String locNo, String matnr, String batch, Double oriCtns, Double oriQty, Double oriWt, Double adjCtns, Double adjQty, Double adjWt, String memo, Long modiUser, Date modiTime, Long appeUser, Date appeTime) { |
| | |
| | | // AdjDetl adjDetl = new AdjDetl( |
| | | // null, // 库位号[非空] |
| | | // null, // 物料编号[非空] |
| | | // null, // 批号 |
| | | // null, // 序列码 |
| | | // null, // 原箱数 |
| | | // null, // 原数量 |
| | | // null, // 原重量 |
| | |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime); |
| | | } |
| | | //"outOrderNo", "luHao", "packing", "sPgNO", "proType","color"}; |
| | | public String setExpand(LocDetl locDetl){ |
| | | if (Cools.isEmpty(locDetl.getOutOrderNo())){ |
| | | this.expand = " "+"_"; |
| | | }else { |
| | | this.expand = locDetl.getOutOrderNo()+"_"; |
| | | } |
| | | if (Cools.isEmpty(locDetl.getLuHao())){ |
| | | this.expand = this.expand+" "+"_"; |
| | | }else { |
| | | this.expand = this.expand+locDetl.getLuHao()+"_"; |
| | | } |
| | | if (Cools.isEmpty(locDetl.getPacking())){ |
| | | this.expand = this.expand+" "+"_"; |
| | | }else { |
| | | this.expand = this.expand+locDetl.getPacking()+"_"; |
| | | } |
| | | if (Cools.isEmpty(locDetl.getSPgNO())){ |
| | | this.expand = this.expand+" "+"_"; |
| | | }else { |
| | | this.expand = this.expand+locDetl.getSPgNO()+"_"; |
| | | } |
| | | if (Cools.isEmpty(locDetl.getProType())){ |
| | | this.expand = this.expand+" "+"_"; |
| | | }else { |
| | | this.expand = this.expand+locDetl.getProType()+"_"; |
| | | } |
| | | if (Cools.isEmpty(locDetl.getColor())){ |
| | | this.expand = this.expand+" "+"_"; |
| | | }else { |
| | | this.expand = this.expand+locDetl.getColor()+"_"; |
| | | } |
| | | |
| | | return this.expand; |
| | | } |
| | | |
| | | } |