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 | 8 ++++++++ 1 files changed, 8 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 0f35b95..6a08872 100644 --- a/src/main/java/cc/mrbird/febs/mall/entity/MallNewsInfo.java +++ b/src/main/java/cc/mrbird/febs/mall/entity/MallNewsInfo.java @@ -22,4 +22,12 @@ * 1-文章2-跳转到产品 */ private Integer type; + + private String videoUrl; + + private String thumb; + + private Long categoryId; + + private Integer isTop; } -- Gitblit v1.9.1