Преглед изворни кода

Merge branch 'feature/20260206-logistics' of AHX-Bid/poyee-app into dev

jintao.geng пре 1 недеља
родитељ
комит
7ffda0e0cf

+ 2 - 2
tzy-sportcard/src/main/java/com/tzy/home/request/DiamondPositionQueryRequest.java

@@ -9,7 +9,7 @@ import lombok.Data;
 public class DiamondPositionQueryRequest {
 
 
-    @ApiModelProperty("业务模块(如HOME-首页,ORDER-订单,USER-用户中心)")
-    private String businessModule;
+    @ApiModelProperty("类型:home_ad-首页横屏异形banner图、home_alien_banner-首页新版异形轮播图")
+    private String type;
 
 }

+ 2 - 2
tzy-sportcard/src/main/resources/mapper/home/DiamondPositionMapper.xml

@@ -58,8 +58,8 @@
         <where>
             del_flag = 0
             AND status = 1
-            <if test="request.businessModule != null and request.businessModule != ''">
-                AND business_module = #{request.businessModule}
+            <if test="request.type != null and request.type != ''">
+                AND type = #{request.type}
             </if>
             AND (effective_start_time is null OR effective_start_time &lt;= CURRENT_TIMESTAMP)
             AND (effective_end_time is null OR effective_end_time &gt;= CURRENT_TIMESTAMP)