Helius
2022-05-24 560228ac3c15cccce0b2a5994d44e4e81b5b3b73
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">