This commit is contained in:
zt
2025-03-12 17:05:10 +08:00
parent 330e4e5b8b
commit bed482475b
7 changed files with 22 additions and 18 deletions

View File

@ -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=")">