From 7925e2cfcdcb39e9ac6793edd5362bbe369def5c Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期四, 22 五月 2025 17:39:46 +0800 Subject: [PATCH] 保存拣料入库流水 --- rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/LocItem.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/LocItem.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/LocItem.java index 754ed9c..dd072f1 100644 --- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/LocItem.java +++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/LocItem.java @@ -7,6 +7,8 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.fasterxml.jackson.annotation.JsonFormat; +import com.vincent.rsf.server.manager.service.LocService; +import com.vincent.rsf.server.manager.service.WarehouseAreasService; import com.vincent.rsf.server.system.constant.DictTypeCode; import com.vincent.rsf.server.system.entity.DictData; import com.vincent.rsf.server.system.service.DictDataService; @@ -93,6 +95,10 @@ @ApiModelProperty("椤圭洰鍙�") private String projectCode; + + @ApiModelProperty("鍑哄簱鏁伴噺") + @TableField(exist = false) + private Double outQty; /** * 鐗╂枡鍚嶇О @@ -285,6 +291,18 @@ // null // 澶囨敞 // ); + public String getWareArea(){ + if (Cools.isEmpty(this.locId)){ + return ""; + } + LocService locService = SpringUtils.getBean(LocService.class); + Loc loc = locService.getById(this.locId); + if (Objects.isNull(loc)) { + return null; + } + return loc.getAreaId$(); + } + public String getType$(){ if (Cools.isEmpty(this.type)){ return ""; -- Gitblit v1.9.1