From b4d2dbd68ed39bcf58c8afe50d7f5c06f14c237c Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期一, 27 二月 2023 09:51:55 +0800 Subject: [PATCH] bug修改 --- ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml | 10 +++++++--- 1 files changed, 7 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 2355f19..8430765 100644 --- a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml +++ b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml @@ -17,14 +17,18 @@ <select id="selectStorePage" resultType="com.ycl.vo.store.StoreInfoVO"> SELECT t1.*, - t2.`name` + t2.`name` as typeName FROM ums_store_store_info t1 - left JOIN ums_data_dictionary t2 ON t1.type = t2.id + left JOIN ums_data_dictionary t2 ON t1.type = t2.id <where> <if test="keyword!=null and keyword!=''"> - t1.store_name LIKE CONCAT('%', #{keyword}, '%') + t1.store_number LIKE CONCAT('%', #{keyword}, '%') + </if> + <if test="status!=null and status!='' and status!='0' "> + and t1.status = #{status} </if> </where> + order by t1.id desc </select> </mapper> -- Gitblit v1.8.0