From e5f2d62c6cc448c217ad5c87f189d8283239065b Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Wed, 08 Jan 2025 14:22:21 +0800 Subject: [PATCH] refactor(mall): 优化 ApiMallNewsServiceImpl 中的代码 - 移除了未使用的 QueryWrapper 导入 - 使用 LambdaQueryWrapper 替代 QueryWrapper 进行查询 - 简化了 mallActivityMapper.selectById 的调用 --- src/main/java/cc/mrbird/febs/mall/entity/MallNewsInfo.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/entity/MallNewsInfo.java b/src/main/java/cc/mrbird/febs/mall/entity/MallNewsInfo.java index 54f98af..6a08872 100644 --- a/src/main/java/cc/mrbird/febs/mall/entity/MallNewsInfo.java +++ b/src/main/java/cc/mrbird/febs/mall/entity/MallNewsInfo.java @@ -28,4 +28,6 @@ private String thumb; private Long categoryId; + + private Integer isTop; } -- Gitblit v1.9.1