From 9bb4d71dc57eee0314c34b536e1faf3b3c61b217 Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期五, 12 十二月 2025 10:55:25 +0800
Subject: [PATCH] 大屏提交2:GIS地图修改

---
 fzzy-igdss-web/src/main/java/com/fzzy/sys/manager/common/CommonManager.java |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/fzzy-igdss-web/src/main/java/com/fzzy/sys/manager/common/CommonManager.java b/fzzy-igdss-web/src/main/java/com/fzzy/sys/manager/common/CommonManager.java
index a5f1ca7..da79a92 100644
--- a/fzzy-igdss-web/src/main/java/com/fzzy/sys/manager/common/CommonManager.java
+++ b/fzzy-igdss-web/src/main/java/com/fzzy/sys/manager/common/CommonManager.java
@@ -1,5 +1,6 @@
 package com.fzzy.sys.manager.common;
 
+import com.fzzy.igds.constant.DepotType;
 import com.fzzy.igds.domain.Depot;
 import com.fzzy.igds.service.DepotService;
 import com.fzzy.igds.service.DicService;
@@ -48,4 +49,29 @@
 
         return depotService.getCacheDepotList(ContextUtil.getCompanyId(), deptId);
     }
+
+    /**
+     * @return
+     */
+    public List<SysDictData> getInoutType() {
+        return dicService.getInoutType();
+    }
+
+
+
+    /**
+     * 鏍规嵁浠撳簱缂栫爜鑾峰彇浠撳簱绫诲瀷
+     * @param depotId
+     * @return
+     */
+    public String getDepotTypeById(String depotId) {
+        String depotType = DepotType.TYPE_01.getCode();
+
+        Depot depot = depotService.getCacheDepot(ContextUtil.getCompanyId(), depotId);
+        if (null != depot && StringUtils.isNotEmpty(depot.getDepotType())) {
+            depotType = depot.getDepotType();
+        }
+
+        return depotType;
+    }
 }

--
Gitblit v1.9.3