From d47bf3e1e3bf56b60ea6a1649ddd618d5ae803f1 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 26 十二月 2025 09:13:14 +0800
Subject: [PATCH] bug修改
---
cloud-server-other/src/main/java/com/dsh/other/controller/StoreController.java | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/StoreController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/StoreController.java
index b9c1613..1020aa5 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/controller/StoreController.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/controller/StoreController.java
@@ -429,9 +429,16 @@
try {
List<TStoreOtherConfigTrue> tStoreOtherConfigTrues = new ArrayList<>();
- List<TStoreOther> list = tStoreOtherService.list(new LambdaQueryWrapper<TStoreOther>().eq(TStoreOther::getStoreId, id).eq(TStoreOther::getState, 1));
+ List<TStoreOther> list = tStoreOtherService
+ .list(new LambdaQueryWrapper<TStoreOther>().eq(TStoreOther::getStoreId, id)
+ .eq(TStoreOther::getState, 1));
if (list.size() > 0) {
- tStoreOtherConfigTrues = tStoreOtherConfigTrueService.list(new LambdaQueryWrapper<TStoreOtherConfigTrue>().in(TStoreOtherConfigTrue::getPid, list.stream().map(TStoreOther::getId).collect(Collectors.toList())).eq(TStoreOtherConfigTrue::getState, 1));
+ tStoreOtherConfigTrues = tStoreOtherConfigTrueService
+ .list(new LambdaQueryWrapper<TStoreOtherConfigTrue>()
+ .in(TStoreOtherConfigTrue::getPid,
+ list.stream().map(TStoreOther::getId)
+ .collect(Collectors.toList()))
+ .eq(TStoreOtherConfigTrue::getState, 1));
}
for (TStoreOtherConfigTrue tStoreOtherConfigTrue : tStoreOtherConfigTrues) {
for (TStoreOther tStoreOther : list) {
@@ -439,6 +446,7 @@
tStoreOtherConfigTrue.setSort(tStoreOther.getSort());
}
}
+ tStoreOtherConfigTrue.setDisplayType(2);
}
return ResultUtil.success(tStoreOtherConfigTrues);
} catch (Exception e) {
--
Gitblit v1.7.1