From 941c656739a1fedb21d58fd8c63ade74a4f6a275 Mon Sep 17 00:00:00 2001 From: xin <1099200748@qq.com> Date: Thu, 10 Jul 2025 15:51:49 +0800 Subject: [PATCH] 审核退款订单 --- 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 >= #{criteria.createStart} + </if> + <if test="criteria.createEnd != null"> + and create_time <= #{criteria.createEnd} + </if> </where> order by category_id desc </select> -- Gitblit v1.9.3