From d24dd35d265a0b6bd0620285d226b5bed3d4566e Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期四, 11 十二月 2025 19:40:27 +0800
Subject: [PATCH] 大屏提交1:首页、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