From cbb65dabceaa33218db93b8a76a72a21492fb227 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期三, 23 十一月 2022 17:29:12 +0800 Subject: [PATCH] 设计文档 --- ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml index dc7bb3c..abc4a0c 100644 --- a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml +++ b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml @@ -17,16 +17,15 @@ <select id="selectStorePage" resultType="com.ycl.vo.store.StoreInfoVO"> SELECT t1.*, - t2.`name` as typeName, - t3.* + t2.`name` as typeName FROM ums_store_store_info t1 left JOIN ums_data_dictionary t2 ON t1.type = t2.id - left JOIN ums_video_point t3 ON t1.video_id = t3.id <where> <if test="keyword!=null and keyword!=''"> t1.store_name LIKE CONCAT('%', #{keyword}, '%') </if> </where> + order by t1.id desc </select> </mapper> -- Gitblit v1.8.0