From a09b6969f73a128b1e0da382648697492abf30db Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 30 六月 2023 09:18:53 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/LocDetl.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/LocDetl.java b/src/main/java/com/zy/asrs/entity/LocDetl.java index ce3a628..eb75b73 100644 --- a/src/main/java/com/zy/asrs/entity/LocDetl.java +++ b/src/main/java/com/zy/asrs/entity/LocDetl.java @@ -271,6 +271,18 @@ return locMast.getLocType2$(); } + public Integer getMatType() { + if (Cools.isEmpty(this.matnr)) { + return null; + } + MatService matService = SpringUtils.getBean(MatService.class); + Mat mat = matService.selectByMatnr(this.matnr); + if (mat == null) { + return null; + } + return mat.getMatType(); + } + public String getMatType$() { if (Cools.isEmpty(this.matnr)) { return ""; -- Gitblit v1.9.1