Explorar el Código

Merge branch 'online1' of http://git.dayaedu.com/yonge/mec

zouxuan hace 4 años
padre
commit
607c3a4320
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/VipGroupMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/VipGroupMapper.xml

@@ -352,7 +352,7 @@
             AND vg.courses_start_date > NOW()
             AND (select count(1) as num from student_payment_order where vg.id_ = music_group_id_ AND user_id_=#{userId}
             AND status_='SUCCESS') = 0
-            AND vg.organ_id_ = #{organId} AND IF(vg.student_id_list_ IS NULL,1,FIND_IN_SET(#{userId},
+            AND IF(vg.student_id_list_ IS NULL, vg.organ_id_ = #{organId}, FIND_IN_SET(#{userId},
             vg.student_id_list_))
             AND vgc.music_theory_ = 0
             <if test="subjectId!=null">