From 1b97ca6145d599515fc4748f9126f1f6c9503ce4 Mon Sep 17 00:00:00 2001 From: liyanqi <15181887205@163.com> Date: 星期四, 27 十月 2022 11:18:01 +0800 Subject: [PATCH] 驾驶舱数据接口以及假数据的编写 --- ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml index e4d975d..d253955 100644 --- a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml +++ b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml @@ -14,4 +14,17 @@ <result column="storescore" property="storescore"/> </resultMap> + <select id="selectStorePage" resultType="com.ycl.vo.store.StoreInfoVO"> + SELECT + t1.*, + t2.`name` as typeName + FROM + ums_store_store_info t1 + left JOIN ums_data_dictionary t2 ON t1.type = t2.id + <where> + <if test="keyword!=null and keyword!=''"> + t1.store_name LIKE CONCAT('%', #{keyword}, '%') + </if> + </where> + </select> </mapper> -- Gitblit v1.8.0