From 48b6f19e19502b2f6469bab3e6a266d88a8e9c8b Mon Sep 17 00:00:00 2001
From: leomon <2233021400@qq.com>
Date: Wed, 09 Jul 2025 23:04:29 +0800
Subject: [PATCH] 订单号string 提供订单消息插入接口

---
 oying-system/src/main/resources/mapper/pc/category/PlatformCategoryMapper.xml |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 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..7202dfe 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="iconUrl"/>
         <result column="status" property="status"/>
         <result column="active" property="active"/>
         <result column="create_by" property="createBy"/>
@@ -17,7 +18,7 @@
     </resultMap>
 
     <sql id="Base_Column_List">
-        category_id, parent_id, name, level, sort_weight, icon_id, status, active, create_by, create_time, update_by, update_time
+        category_id, parent_id, name, level, sort_weight, icon_id, icon_url, status, active, create_by, create_time, update_by, update_time
     </sql>
 
     <select id="findAll" resultMap="BaseResultMap">
@@ -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