优化
This commit is contained in:
@ -66,7 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
left join bgt_project_recruit_apply bpra on wa.recruit_id = bpra.recruit_id and bpra.user_id = wa.user_id
|
||||
left join bgt_project_recruit bpr on bpr.id = bpra.recruit_id
|
||||
left join fbs_project_task fpt on fpt.id = bpr.task_id
|
||||
where wa.date = #{dto.date}'
|
||||
where wa.date = #{dto.date}
|
||||
<if test="dto.attendanceType !=null and dto.attendanceType ==1 ">
|
||||
and (wa.missed_in =0 or missed_out = 0 )
|
||||
</if>
|
||||
|
@ -39,6 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and bpr.recruit_name like concat('%', #{dto.recruitName}, '%')
|
||||
</if>
|
||||
</where>
|
||||
order by bpr.create_time desc
|
||||
</select>
|
||||
|
||||
<select id="userProjectDetails" resultType="com.ruoyi.wgz.bo.res.WgzAppProjectDetailsRes">
|
||||
|
@ -69,6 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and bwa.audit_status = #{dto.auditStatus}
|
||||
</if>
|
||||
</where>
|
||||
order by bwa.create_time desc
|
||||
</select>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user