From d60d905750e86e7dbcbf932ee2aa7bb835f879bc Mon Sep 17 00:00:00 2001 From: zepengdev <lzpsmith@outlook.com> Date: Wed, 04 Jun 2025 08:24:32 +0800 Subject: [PATCH] 1、PlatformCategory继承BaseEntity 2、调整PlatformCategoryView字段 3、完成queryPlatformCategory接口开发 --- 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 >= #{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