From 178e2536417ded3b4e98a192ff47cc87870dc75f Mon Sep 17 00:00:00 2001
From: leomon <2233021400@qq.com>
Date: Thu, 26 Jun 2025 01:15:36 +0800
Subject: [PATCH] 订单消息接口优化

---
 oying-system/src/main/resources/mapper/pc/category/PlatformCategoryMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/oying-system/src/main/resources/mapper/pc/category/PlatformCategoryMapper.xml b/oying-system/src/main/resources/mapper/pc/category/PlatformCategoryMapper.xml
index be265d3..86b2d88 100644
--- a/oying-system/src/main/resources/mapper/pc/category/PlatformCategoryMapper.xml
+++ b/oying-system/src/main/resources/mapper/pc/category/PlatformCategoryMapper.xml
@@ -8,6 +8,7 @@
         <result column="level" property="level"/>
         <result column="sort_weight" property="sortWeight"/>
         <result column="icon_id" property="iconId"/>
+        <result column="icon_url" property="iconId"/>
         <result column="status" property="status"/>
         <result column="active" property="active"/>
         <result column="create_by" property="createBy"/>
@@ -25,9 +26,18 @@
         <include refid="Base_Column_List"/>
         from pc_platform_category
         <where>
+            <if test="criteria.blurry != null and criteria.blurry != ''">
+                and name like concat('%',#{criteria.blurry},'%')
+            </if>
             <if test="criteria.active != null">
                 and active = #{criteria.active}
             </if>
+            <if test="criteria.createStart != null">
+                and create_time &gt;= #{criteria.createStart}
+            </if>
+            <if test="criteria.createEnd != null">
+                and create_time &lt;= #{criteria.createEnd}
+            </if>
         </where>
         order by category_id desc
     </select>

--
Gitblit v1.9.3