领料审核增加任务状态筛选

This commit is contained in:
csyue 2024-06-12 16:56:36 +08:00
parent a9a42f4421
commit 81b574141c
1 changed files with 4 additions and 1 deletions

View File

@ -562,11 +562,14 @@
AND su.dept_id = #{record.deptId}
</if>
<if test="record.companyId != null ">
AND lai.company_id = #{record.companyId}
AND lai.company_id = #{record.companyId}
</if>
<if test="record.taskId != null and record.taskId != '' ">
AND tt.task_id = #{record.taskId}
</if>
<if test="record.taskStatus != null">
AND tt.task_status = #{record.taskStatus}
</if>
<if test="record.startTime != null and record.startTime != '' and record.endTime != null and record.endTime != '' ">
AND tt.update_time BETWEEN CONCAT(#{record.startTime}, ' 00:00:00') AND CONCAT(#{record.endTime}, ' 23:59:59')