From 53d5d2fb91c6dd33eece3a92590a553ebfef521c Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期三, 27 十二月 2023 10:10:48 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
index 09473ad..76b6e81 100644
--- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -1,6 +1,7 @@
 package com.zy.asrs.service.impl;
 
 import com.baomidou.mybatisplus.mapper.EntityWrapper;
+import com.baomidou.mybatisplus.plugins.Page;
 import com.core.common.Cools;
 import com.core.common.DateUtils;
 import com.core.common.R;
@@ -9,6 +10,7 @@
 import com.zy.asrs.entity.*;
 import com.zy.asrs.entity.param.*;
 import com.zy.asrs.entity.result.InOutCountDto;
+import com.zy.asrs.entity.result.LocDetlAll;
 import com.zy.asrs.entity.result.StockVo;
 import com.zy.asrs.mapper.ReportQueryMapper;
 import com.zy.asrs.mapper.TagMapper;
@@ -409,7 +411,7 @@
                 Long tagId;
                 // 涓�绾у垎绫�
                 if (!Cools.isEmpty(matParam.getGroupCode()) && !Cools.isEmpty(matParam.getGroupName())) {
-                    Tag priTag = tagService.selectByName(matParam.getGroupCode(), 2);
+                    Tag priTag = tagService.selectByName(matParam.getGroupCode(), 1);
                     if (priTag == null) {
                         Tag top = tagService.getTop();
                         NodeUtils nodeUtils = new NodeUtils();
@@ -440,7 +442,7 @@
                         }
                     }
                     // 浜岀骇鍒嗙被
-                    Tag secTag = tagService.selectByName(matParam.getGroupName(), 3);
+                    Tag secTag = tagService.selectByName(matParam.getGroupName(), 2);
                     if (secTag == null) {
                         NodeUtils nodeUtils = new NodeUtils();
                         nodeUtils.executePath(priTag.getId());
@@ -540,4 +542,13 @@
         return digitalTwin;
     }
 
+    /*
+     * 閫熻吘鏁板瓧瀛敓璋冪敤鎺ュ彛
+     * */
+    @Override
+    public synchronized R ownerAllNumber() {
+        List<LocDetlAll> locDetlAlls = locDetlService.selectOwnerAllAnfme();
+        return R.ok(locDetlAlls);
+    }
+
 }

--
Gitblit v1.9.1