|
@@ -307,6 +307,9 @@
|
|
<if test="businessId != null and businessId != ''">
|
|
<if test="businessId != null and businessId != ''">
|
|
AND g.business_id = #{businessId}
|
|
AND g.business_id = #{businessId}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="educationTypeId != null and educationTypeId != ''">
|
|
|
|
+ AND g.education_type_id = #{educationTypeId}
|
|
|
|
+ </if>
|
|
<if test="schoolId != null and schoolId != ''">
|
|
<if test="schoolId != null and schoolId != ''">
|
|
AND g.school_id = #{schoolId}
|
|
AND g.school_id = #{schoolId}
|
|
</if>
|
|
</if>
|
|
@@ -328,6 +331,9 @@
|
|
<if test="studyStatus != null and studyStatus == 2 ">
|
|
<if test="studyStatus != null and studyStatus == 2 ">
|
|
and cgu.period_status != -1
|
|
and cgu.period_status != -1
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="searchKey != null and searchKey != '' ">
|
|
|
|
+ and (u.realname like concat('%', #{searchKey}, '%') or u.id_card like concat('%', #{searchKey}, '%'))
|
|
|
|
+ </if>
|
|
<if test="periodStatus != 2 ">
|
|
<if test="periodStatus != 2 ">
|
|
order by cgu.update_time desc
|
|
order by cgu.update_time desc
|
|
</if>
|
|
</if>
|