From eaefb5f0d4fb5918786936dd60f4be7dd93011ba Mon Sep 17 00:00:00 2001 From: 姜友瑶 <935090232@qq.com> Date: Mon, 23 May 2022 12:20:30 +0800 Subject: [PATCH] Merge branch 'developer' --- zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesGroupJoinDao.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesGroupJoinDao.xml b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesGroupJoinDao.xml index cb7b22f..2e74316 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesGroupJoinDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesGroupJoinDao.xml @@ -248,7 +248,7 @@ from shop_activities_group_join t1 inner join shop_activities_group_price t2 on t1.gp_id=t2.id inner join sys_vip_info t3 on t1.gj_head_id=t3.id - where t1.act_id = #{record.actId} and (t3.IS_DELETE is null or t3.IS_DELETE = '') + where t1.act_id = #{record.actId} <if test="pageVo !=null"><!-- 判断pageVo对象是否为空 --> <if test="pageVo.sort !=null and pageVo.order !=null"> order by @@ -311,7 +311,7 @@ from shop_activities_group_join t1 inner join shop_activities_group_join_user t2 on t1.id=t2.gj_id and t2.is_has_cancel=2 and t2.is_has_pay=1 left join sys_vip_info t3 on t2.user_id=t3.id - where t1.id=#{gjId} and (t3.IS_DELETE is null or t3.IS_DELETE = '') + where t1.id=#{gjId} </select> <select id="selectOwnerGroupJoinInfoWithNoPay" resultMap="ShopActivitiesGroupJoinMap"> @@ -328,7 +328,7 @@ from shop_activities_group_join t1 inner join shop_activities_group_join_user t2 on t1.id=t2.gj_id and t2.is_has_cancel=2 left join sys_vip_info t3 on t2.user_id=t3.id - where t1.id=#{gjId} and (t3.IS_DELETE is null or t3.IS_DELETE = '') + where t1.id=#{gjId} </select> <select id="selectIsExistGroupInfoByUserId" resultMap="ShopActivitiesGroupJoinMap"> @@ -351,7 +351,7 @@ from shop_activities_group_join t1 inner join shop_activities_group_price t2 on t1.gp_id=t2.id left join sys_vip_info t3 on t1.gj_head_id=t3.id - where t1.act_id=#{actId} and t1.gj_status=3 and (t3.IS_DELETE is null or t3.IS_DELETE = '') + where t1.act_id=#{actId} and t1.gj_status=3 </select> <select id="selectGroupAndPriceById" resultMap="ShopActivitiesGroupJoinMap"> -- Gitblit v1.9.1