From b381a91b41726de9c0dccfb382eda4a3aecfd80f Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期三, 13 九月 2023 16:14:52 +0800 Subject: [PATCH] #盘点完成 --- src/main/java/com/zy/asrs/entity/ManLocDetl.java | 54 +++++++++++++++++++----------------------------------- 1 files changed, 19 insertions(+), 35 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/ManLocDetl.java b/src/main/java/com/zy/asrs/entity/ManLocDetl.java index 583fd81..5b089cd 100644 --- a/src/main/java/com/zy/asrs/entity/ManLocDetl.java +++ b/src/main/java/com/zy/asrs/entity/ManLocDetl.java @@ -30,6 +30,7 @@ * 鎵�灞為」鐩� */ @ApiModelProperty(value= "鎵�灞為」鐩�") + @TableId(value = "host_id", type = IdType.AUTO) @TableField("host_id") private Long hostId; @@ -37,7 +38,6 @@ * 璐т綅缂栧彿 */ @ApiModelProperty(value= "璐т綅缂栧彿") - @TableId(value = "loc_no", type = IdType.INPUT) @TableField("loc_no") private String locNo; @@ -215,42 +215,20 @@ @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 Double 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; - } + @TableField("stock_freeze") + @ApiModelProperty(value= "搴撳瓨鍐荤粨{1:姝e父,0:鍐荤粨}") + private Integer stockFreeze; + + + // LocDetl locDetl = new LocDetl( // null, // 璐т綅缂栧彿[闈炵┖] @@ -365,6 +343,12 @@ } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modiTime); } + public String getStockFreeze$() { + if (Cools.isEmpty(this.stockFreeze)){ + return ""; + } + return this.stockFreeze == 1 ? "姝e父" : "鍐荤粨"; + } -- Gitblit v1.9.1