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/com/best/javaSdk/kdTraceQuery/response/KdTraceQueryRsp.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/best/javaSdk/kdTraceQuery/response/KdTraceQueryRsp.java b/src/main/java/com/best/javaSdk/kdTraceQuery/response/KdTraceQueryRsp.java index 79038e9..603d362 100644 --- a/src/main/java/com/best/javaSdk/kdTraceQuery/response/KdTraceQueryRsp.java +++ b/src/main/java/com/best/javaSdk/kdTraceQuery/response/KdTraceQueryRsp.java @@ -1,6 +1,7 @@ package com.best.javaSdk.kdTraceQuery.response; import com.best.javaSdk.BaseResponse; +import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -8,6 +9,7 @@ @Data +@ApiModel(value = "KdTraceQueryRsp", description = "信息返回类") public class KdTraceQueryRsp implements BaseResponse { @ApiModelProperty(value = "请求结果", example = "60850007041815") -- Gitblit v1.9.1