From 2330cde874d1c4ca6763fd9fc1590fc313751df3 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期二, 09 九月 2025 08:53:36 +0800
Subject: [PATCH] #erp.生产收料通知单页面查询完成
---
src/main/java/com/zy/asrs/entity/ICMO.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/ICMO.java b/src/main/java/com/zy/asrs/entity/ICMO.java
index 0770b72..47dd719 100644
--- a/src/main/java/com/zy/asrs/entity/ICMO.java
+++ b/src/main/java/com/zy/asrs/entity/ICMO.java
@@ -8,6 +8,7 @@
import com.core.common.SpringUtils;
+import com.zy.asrs.service.DepartmentService;
import com.zy.asrs.service.ICItemCoreService;
import org.springframework.format.annotation.DateTimeFormat;
import java.text.SimpleDateFormat;
@@ -588,6 +589,14 @@
return icItemCoreService.selectOne(new EntityWrapper<ICItemCore>().eq("FItemID", this.FItemID));
}
+ public Department getDepartment(){
+ if (Cools.isEmpty(this.FWorkShop)){
+ return null;
+ }
+ DepartmentService departmentService = SpringUtils.getBean(DepartmentService.class);
+ return departmentService.selectOne(new EntityWrapper<Department>().eq("FItemID", this.FWorkShop));
+
+ }
public String getFPlanCommitDate$(){
if (Cools.isEmpty(this.FPlanCommitDate)){
--
Gitblit v1.9.1