| | |
| | | * 货位编号 |
| | | */ |
| | | @ApiModelProperty(value= "货位编号") |
| | | @TableId(value = "loc_no", type = IdType.INPUT) |
| | | @TableField("loc_no") |
| | | private String locNo; |
| | | |
| | |
| | | private Integer owner; |
| | | |
| | | /** |
| | | * 是否付款 |
| | | * 货物形态:0:代采、1:仓储 |
| | | */ |
| | | @ApiModelProperty(value= "是否付款0:未付款、1:已付款 ") |
| | | @ApiModelProperty(value= "货物形态:0:代采、1:仓储") |
| | | private Integer payment; |
| | | |
| | | /** |
| | | * uuid时间戳 |
| | | */ |
| | | @ApiModelProperty(value= "uuid") |
| | | @TableId(value = "uuid", type = IdType.ID_WORKER_STR) |
| | | @TableField("uuid") |
| | | private String uuid; |
| | | @ApiModelProperty(value= "添加时间") |
| | | @TableField("real_anfme") |
| | | private Date realAnfme; |
| | | |
| | | public ManLocDetl() {} |
| | | @ApiModelProperty(value= "订单号") |
| | | @TableField("order_no") |
| | | private String orderNo; |
| | | |
| | | public ManLocDetl(Long hostId, String locNo,Long nodeId,String zpallet,Double anfme,String matnr,String maktx,String name,String specs,String model,String batch,String unit,String barcode,Long docId,String docNum,String custName,Integer itemNum,Integer count,Double weight,Integer status,Long createBy,Date createTime,Long updateBy,Date modiTime,String memo,String uuid) { |
| | | this.hostId = hostId; |
| | | this.nodeId = nodeId; |
| | | this.zpallet = zpallet; |
| | | this.anfme = anfme; |
| | | this.maktx = maktx; |
| | | this.name = name; |
| | | this.specs = specs; |
| | | this.model = model; |
| | | this.batch = batch; |
| | | this.unit = unit; |
| | | this.barcode = barcode; |
| | | this.docId = docId; |
| | | this.docNum = docNum; |
| | | this.custName = custName; |
| | | this.itemNum = itemNum; |
| | | this.count = count; |
| | | this.weight = weight; |
| | | this.status = status; |
| | | this.createBy = createBy; |
| | | this.createTime = createTime; |
| | | this.updateBy = updateBy; |
| | | this.modiTime = modiTime; |
| | | this.memo = memo; |
| | | this.uuid = uuid; |
| | | } |
| | | |
| | | |
| | | |
| | | // LocDetl locDetl = new LocDetl( |
| | | // null, // 货位编号[非空] |
| | |
| | | if (null == this.payment){ return null; } |
| | | switch (this.payment){ |
| | | case 1: |
| | | return "已付款"; |
| | | return "仓储"; |
| | | case 0: |
| | | return "未付款"; |
| | | return "代采"; |
| | | default: |
| | | return String.valueOf(this.payment); |
| | | } |