|
@@ -142,6 +142,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="businessId != null and businessId != ''">
|
|
<if test="businessId != null and businessId != ''">
|
|
|
AND ma.business_id = #{businessId}
|
|
AND ma.business_id = #{businessId}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="userId != null and userId != ''">
|
|
|
|
|
+ AND u.user_id = #{userId}
|
|
|
|
|
+ </if>
|
|
|
<if test="searchKey != null and searchKey != ''">
|
|
<if test="searchKey != null and searchKey != ''">
|
|
|
AND (u.realname like concat('%', #{searchKey}, '%') or u.id_card like concat('%', #{searchKey}, '%'))
|
|
AND (u.realname like concat('%', #{searchKey}, '%') or u.id_card like concat('%', #{searchKey}, '%'))
|
|
|
</if>
|
|
</if>
|
|
@@ -157,6 +160,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="subscribeStatus != null and subscribeStatus != ''">
|
|
<if test="subscribeStatus != null and subscribeStatus != ''">
|
|
|
AND ums.subscribe_status = #{subscribeStatus}
|
|
AND ums.subscribe_status = #{subscribeStatus}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="startTime != null and startTime != ''">
|
|
|
|
|
+ AND ums.apply_site_exam_time > #{startTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="endTime != null and endTime != ''">
|
|
|
|
|
+ AND ums.apply_site_exam_time < #{endTime}
|
|
|
|
|
+ </if>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|