From 94e5611b79ba1440d042eb062fb36b1b9f01a0be Mon Sep 17 00:00:00 2001 From: baizonghao <1719256278@qq.com> Date: 星期四, 30 三月 2023 20:00:15 +0800 Subject: [PATCH] 过期时间 --- ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml index 1c956d7..8430765 100644 --- a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml +++ b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml @@ -17,15 +17,16 @@ <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}, '%') + 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 -- Gitblit v1.8.0