From d9aab59e3d4c8688eaf00c0d98f6926a218ff57f Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期一, 28 四月 2025 15:28:11 +0800 Subject: [PATCH] 拣货单出库完成,但是库存没减,日志埋点 --- src/main/java/com/zy/asrs/entity/OrderDetlExcelVo.java | 92 +++++----------------------------------------- 1 files changed, 10 insertions(+), 82 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/OrderDetlExcelVo.java b/src/main/java/com/zy/asrs/entity/OrderDetlExcelVo.java index fa819a4..db8ad66 100644 --- a/src/main/java/com/zy/asrs/entity/OrderDetlExcelVo.java +++ b/src/main/java/com/zy/asrs/entity/OrderDetlExcelVo.java @@ -1,8 +1,6 @@ package com.zy.asrs.entity; import com.alibaba.excel.annotation.ExcelProperty; -import com.baomidou.mybatisplus.annotations.TableField; -import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; @@ -12,104 +10,34 @@ private static final long serialVersionUID = 1L; - /** - * 鍗曟嵁缂栧彿 - */ - @ApiModelProperty(value= "鍗曟嵁缂栧彿") - @TableField("order_no") - @ExcelProperty({"鍗曟嵁", "鍗曟嵁缂栧彿"}) + @ExcelProperty("鍗曟嵁缂栧彿") private String orderNo; - - /** - * 鏁伴噺 - */ - @ApiModelProperty(value= "鏁伴噺") - @ExcelProperty({"鍗曟嵁", "鏁伴噺"}) + @ExcelProperty("鏁伴噺") private Double anfme; - /** - * 浣滀笟鏁伴噺 - * - * 鍏ュ簱 : 缁勬墭瀹屾垚锛岀粍鎵樻。銆佸伐浣滄。銆佸叆搴撳畬鎴愭暟閲� - * 鍑哄簱 : 宸ヤ綔妗c�佸嚭搴撳畬鎴愭暟閲� - */ - @ApiModelProperty(value= "浣滀笟鏁伴噺") - @TableField("work_qty") - @ExcelProperty({"鍗曟嵁", "浣滀笟鏁伴噺"}) + @ExcelProperty("浣滀笟鏁伴噺") private Double workQty; - /** - * 瀹屾垚鏁伴噺 - * - * 鍏ュ簱 : qty 馃憜 - * 鍑哄簱 : qty 馃憜 - */ - @ApiModelProperty(value= "瀹屾垚鏁伴噺") - @ExcelProperty({"鍗曟嵁", "瀹屾垚鏁伴噺"}) + @ExcelProperty("瀹屾垚鏁伴噺") private Double qty; - /** - * 鍟嗗搧缂栫爜 - */ - @ApiModelProperty(value= "鍟嗗搧缂栫爜") - @ExcelProperty({"鍗曟嵁", "鍟嗗搧缂栫爜"}) + @ExcelProperty("鍟嗗搧缂栫爜") private String matnr; - /** - * 鍟嗗搧鍚嶇О - */ - @ApiModelProperty(value= "鍟嗗搧鍚嶇О") - @ExcelProperty({"鍗曟嵁", "鍟嗗搧鍚嶇О"}) + @ExcelProperty("鍟嗗搧鍚嶇О") private String maktx; - /** - * 瑙勬牸 - */ - @ApiModelProperty(value= "瑙勬牸") - @ExcelProperty({"鍗曟嵁", "瑙勬牸"}) + @ExcelProperty("瑙勬牸") private String specs; - /** - * 閲嶉噺 - */ - @ApiModelProperty(value= "閲嶉噺") - @ExcelProperty({"鍗曟嵁", "閲嶉噺"}) + @ExcelProperty("閲嶉噺") private Double weight; - /** - * 鎷ユ湁鑰� - */ - @ApiModelProperty(value= "鎷ユ湁鑰� 1: 鏉板厠 ") - @ExcelProperty({"鍗曟嵁", "璐т富ID"}) + @ExcelProperty("璐т富ID") private Integer owner; - /** - * 璐х墿褰㈡��:0锛氫唬閲囥��1锛氫粨鍌� - */ - @ApiModelProperty(value= "璐х墿褰㈡��:0锛氫唬閲囥��1锛氫粨鍌�") + @ExcelProperty("璐х墿褰㈡�両D") private Integer payment; -// -// -// public String getOwner$(){ -// LocOwnerService service = SpringUtils.getBean(LocOwnerService.class); -// LocOwner locOwner = service.selectById(this.owner); -// if (!Cools.isEmpty(locOwner)){ -// return String.valueOf(locOwner.getOwner()); -// } -// return null; -// } -// -// public String getPayment$(){ -// if (null == this.payment){ return null; } -// switch (this.payment){ -// case 1: -// return "浠撳偍"; -// case 0: -// return "浠i噰"; -// default: -// return String.valueOf(this.payment); -// } -// } } \ No newline at end of file -- Gitblit v1.9.1