From 9097df6b9559b04682e9907d900eb86d5109f84a Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 23 四月 2024 21:23:32 +0800
Subject: [PATCH] 去掉coreboot的无用注释
---
smart-man-boot/src/main/java/com/qianwen/smartman/modules/system/controller/GalleryController.java | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/system/controller/GalleryController.java b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/system/controller/GalleryController.java
index dd1974b..3c46a7e 100644
--- a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/system/controller/GalleryController.java
+++ b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/system/controller/GalleryController.java
@@ -43,7 +43,6 @@
@Api(value = "鍥惧簱绠$悊", tags = {"鍥惧簱绠$悊"})
@ApiResource({"blade-system/gallery"})
@RestController
-/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/controller/GalleryController.class */
public class GalleryController extends BladeController {
private IGalleryService galleryService;
private IGalleryItemService galleryItemService;
@@ -79,12 +78,7 @@
List<GalleryTreeVO> treeVOS = GalleryConvert.INSTANCE.convertTree(list);
for (GalleryTreeVO tree : treeVOS) {
List<GalleryItem> items = this.galleryItemService.list(Lambda.eq(GalleryItem::getGalleryId, tree.getId()).limit(count).orderByDesc(GalleryItem::getId));
- /*
- List<GalleryItem> items = this.galleryItemService.list((Wrapper) Lambda.eq((v0) -> {
- return v0.getGalleryId();
- }, tree.getId()).limit(count).orderByDesc((v0) -> {
- return v0.getId();
- }));*/
+
tree.setChildren(GalleryItemConvert.INSTANCE.convert(items));
}
return R.data(treeVOS);
@@ -127,7 +121,7 @@
@ApiOperationSupport(order = 6)
@DeleteResource({"/remove"})
@ApiOperation(value = "鍥惧簱鍒犻櫎", notes = "浼犲叆ids")
- public R remove(@ApiParam(value = "涓婚敭", required = true) @RequestBody List<String> ids) {
+ public R<Void> remove(@ApiParam(value = "涓婚敭", required = true) @RequestBody List<String> ids) {
if (ids.isEmpty()) {
return R.status(false);
}
--
Gitblit v1.9.3