|
@@ -723,7 +723,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
(monthEndTime != null and monthEndTime != '') or
|
|
(monthEndTime != null and monthEndTime != '') or
|
|
|
(applySiteStartTime != null and applySiteStartTime != '') or
|
|
(applySiteStartTime != null and applySiteStartTime != '') or
|
|
|
(applySiteEndTime != null and applySiteEndTime != '')">
|
|
(applySiteEndTime != null and applySiteEndTime != '')">
|
|
|
- AND (SELECT COUNT(us.subscribe_id) FROM user_subscribe us WHERE us.user_id = 1 AND us.subscribe_status = 1
|
|
|
|
|
|
|
+ AND (SELECT COUNT(us.subscribe_id) FROM user_subscribe us WHERE us.user_id = u.user_id AND us.subscribe_status = 1
|
|
|
<if test="applySiteExamTime != null and applySiteExamTime != '' ">
|
|
<if test="applySiteExamTime != null and applySiteExamTime != '' ">
|
|
|
and us.apply_site_exam_time = #{applySiteExamTime}
|
|
and us.apply_site_exam_time = #{applySiteExamTime}
|
|
|
</if>
|
|
</if>
|