|
@@ -247,12 +247,15 @@
|
|
<if test="educationalTeacherId!=null">
|
|
<if test="educationalTeacherId!=null">
|
|
AND pg.educational_teacher_id_=#{educationalTeacherId}
|
|
AND pg.educational_teacher_id_=#{educationalTeacherId}
|
|
</if>
|
|
</if>
|
|
- <if test="firstOrRenew != null and firstOrRenew == true">
|
|
|
|
|
|
+ <if test="type != null and firstOrRenew == 1">
|
|
AND pg.be_renew_group_id_ IS NULL
|
|
AND pg.be_renew_group_id_ IS NULL
|
|
</if>
|
|
</if>
|
|
- <if test="firstOrRenew != null and firstOrRenew == false">
|
|
|
|
|
|
+ <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
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="type != null and firstOrRenew == 2">
|
|
|
|
+ AND pg.buy_months_ IS NULL
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
</sql>
|
|
</sql>
|
|
|
|
|