优化
This commit is contained in:
@ -26,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
wu.score,
|
||||
wu.avatar_name,
|
||||
wu.username,
|
||||
wu.identity_card,
|
||||
bpra.status,
|
||||
wu.type_of_work,
|
||||
bpr.recruit_name,
|
||||
@ -41,12 +42,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="dto.username !=null and dto.username !='' ">
|
||||
and wu.username like concat('%', #{dto.username}, '%')
|
||||
</if>
|
||||
<if test="dto.recruitIds != null and dto.recruitIds.size() > 0">
|
||||
AND bpra.recruit_id IN
|
||||
<foreach collection="dto.recruitIds" item="recruitId" open="(" separator="," close=")">
|
||||
#{recruitId}
|
||||
</foreach>
|
||||
<if test="dto.taskId != null">
|
||||
AND bpra.task_id = #{dto.taskId}
|
||||
</if>
|
||||
<!-- <if test="dto.recruitIds != null and dto.recruitIds.size() > 0">-->
|
||||
<!-- AND bpra.recruit_id IN-->
|
||||
<!-- <foreach collection="dto.recruitIds" item="recruitId" open="(" separator="," close=")">-->
|
||||
<!-- #{recruitId}-->
|
||||
<!-- </foreach>-->
|
||||
<!-- </if>-->
|
||||
<if test="dto.status != null and dto.status.size() > 0">
|
||||
AND bpra.status IN
|
||||
<foreach collection="dto.status" item="item" open="(" separator="," close=")">
|
||||
|
Reference in New Issue
Block a user