From 98401eca7432757eac3be490f94ab6953f4a5ce1 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Fri, 05 Jul 2024 23:47:31 +0800 Subject: [PATCH] 后台 --- src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml b/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml index 2b0dd24..eb3575f 100644 --- a/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml +++ b/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml @@ -16,6 +16,21 @@ order by m.parent_id asc </select> + <select id="selectListInPage" resultType="cc.mrbird.febs.mall.vo.AdminGameRoomVo"> + SELECT + a.* + FROM game_room a + left join mall_member b on a.parent_id = b.id + <where> + <if test="record != null" > + <if test="record.name!=null and record.name!=''"> + and m.name like concat('%', #{record.name},'%') + </if> + </if> + </where> + order by m.parent_id asc + </select> + <select id="selectCategoryByName" resultType="cc.mrbird.febs.mall.entity.MallGoodsCategory"> SELECT * FROM mall_goods_category m where m.name = #{name} </select> -- Gitblit v1.9.1