|
@@ -741,7 +741,7 @@
|
|
|
and irb.remind_id =7
|
|
and irb.remind_id =7
|
|
|
and cgu.status = 1
|
|
and cgu.status = 1
|
|
|
AND unix_timestamp(now()) BETWEEN cg.class_end_time-432000 and cg.class_end_time-345600
|
|
AND unix_timestamp(now()) BETWEEN cg.class_end_time-432000 and cg.class_end_time-345600
|
|
|
- AND (SELECT COUNT(1) FROM inform_user iu where 1=1 and iu.remind_id = 6 and cgu.user_id = iu.user_id and cgu.grade_id = iu.grade_id and iu.system_status=3) < 1
|
|
|
|
|
|
|
+ AND (SELECT COUNT(1) FROM inform_user iu where 1=1 and iu.remind_id = 7 and cgu.user_id = iu.user_id and cgu.grade_id = iu.grade_id and iu.system_status=3) < 1
|
|
|
</select>
|
|
</select>
|
|
|
<select id="selectUserCount" parameterType="com.zhongzheng.modules.user.domain.User" resultType="long">
|
|
<select id="selectUserCount" parameterType="com.zhongzheng.modules.user.domain.User" resultType="long">
|
|
|
SELECT
|
|
SELECT
|