From 501b641ba527cc8b811dc0a343bd59ec8bfd49a0 Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期三, 30 七月 2025 15:06:57 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/OrderDetl.java | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/OrderDetl.java b/src/main/java/com/zy/asrs/entity/OrderDetl.java index f673c5d..e5c4b00 100644 --- a/src/main/java/com/zy/asrs/entity/OrderDetl.java +++ b/src/main/java/com/zy/asrs/entity/OrderDetl.java @@ -7,10 +7,7 @@ import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.core.common.Cools; import com.core.common.SpringUtils; -import com.zy.asrs.service.BasProcessProceduresService; -import com.zy.asrs.service.BasQualityTestingService; -import com.zy.asrs.service.OrderService; -import com.zy.asrs.service.StoreTypeService; +import com.zy.asrs.service.*; import com.zy.asrs.utils.MathUtils; import com.zy.common.utils.Synchro; import com.zy.system.entity.User; @@ -703,6 +700,15 @@ return this.boxType1; } + public String getCstateid$() { + KcztMapService service = SpringUtils.getBean(KcztMapService.class); + KcztMap kcztMap = service.selectOne(new EntityWrapper<KcztMap>().eq("cstateid", this.cstateid)); + if (!Cools.isEmpty(kcztMap)){ + return String.valueOf(kcztMap.getVname()); + } + return String.valueOf(this.cstateid); + } + public void sync(Object source) { Synchro.Copy(source, this); } -- Gitblit v1.9.1