优化
This commit is contained in:
@ -37,10 +37,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
bptp.task_name,
|
||||
bptp.project_name
|
||||
from bgt_project_task_progress bptp
|
||||
where bptp.uploader_id = #{dto.createBy}
|
||||
where bptp.uploader_id = #{dto.uploaderId}
|
||||
<if test="dto.auditStatus != null and dto.auditStatus != '' ">
|
||||
and bptp.audit_status = #{dto.auditStatus}
|
||||
</if>
|
||||
<if test="dto.taskId != null">
|
||||
and bptp.task_id = #{dto.taskId}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user