From 16bc036b693e98f854210499641beb0eac80c760 Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期四, 05 十二月 2024 14:36:28 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/YiWuProject

---
 hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassRelationInfoServiceImpl.java |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassRelationInfoServiceImpl.java b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassRelationInfoServiceImpl.java
index b44f147..f7c5a54 100644
--- a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassRelationInfoServiceImpl.java
+++ b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassRelationInfoServiceImpl.java
@@ -243,15 +243,10 @@
     }
 
     @Override
-    public List<LackDetailsDTO> queryLackByFlowCard(String flowCardId, int layer) {
-
-        return this.baseMapper.queryLackByFlowCard(flowCardId, layer);
-//        return this.list(new LambdaQueryWrapper<HollowGlassRelationInfo>()
-//                .eq(HollowGlassRelationInfo::getFlowCardId,flowCardId)
-//                .eq(HollowGlassRelationInfo::getLayer,layer)
-//                .isNull(HollowGlassRelationInfo::getTemperingLayoutId)
-//                .isNull(HollowGlassRelationInfo::getTemperingFeedSequence)
-//        );
+    public Map<Integer, List<LackDetailsDTO>>  queryLackByFlowCard(String flowCardId) {
+        List<LackDetailsDTO> lackDetailsList = this.baseMapper.queryLackByFlowCard(flowCardId);
+        Map<Integer, List<LackDetailsDTO>> listMap = lackDetailsList.stream().collect(Collectors.groupingBy(LackDetailsDTO::getLayer));
+        return listMap;
     }
 
 }

--
Gitblit v1.8.0