소스 검색

1、课外训练

Joburgess 5 년 전
부모
커밋
e38532cfe2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/PracticeGroupMapper.xml

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/PracticeGroupMapper.xml

@@ -248,10 +248,10 @@
                 AND pg.educational_teacher_id_=#{educationalTeacherId}
             </if>
             <if test="type != null and firstOrRenew == 1">
-                AND pg.be_renew_group_id_ IS NULL
+                AND pg.be_renew_group_id_ IS NULL AND pg.buy_months_ IS NOT NULL
             </if>
             <if test="type != null and firstOrRenew == 0">
-                AND pg.be_renew_group_id_ IS NOT NULL
+                AND pg.be_renew_group_id_ IS NOT NULL AND pg.buy_months_ IS NOT NULL
             </if>
             <if test="type != null and firstOrRenew == 2">
                 AND pg.buy_months_ IS NULL