领料审核增加任务状态筛选
This commit is contained in:
parent
a9a42f4421
commit
81b574141c
|
|
@ -562,11 +562,14 @@
|
||||||
AND su.dept_id = #{record.deptId}
|
AND su.dept_id = #{record.deptId}
|
||||||
</if>
|
</if>
|
||||||
<if test="record.companyId != null ">
|
<if test="record.companyId != null ">
|
||||||
AND lai.company_id = #{record.companyId}
|
AND lai.company_id = #{record.companyId}
|
||||||
</if>
|
</if>
|
||||||
<if test="record.taskId != null and record.taskId != '' ">
|
<if test="record.taskId != null and record.taskId != '' ">
|
||||||
AND tt.task_id = #{record.taskId}
|
AND tt.task_id = #{record.taskId}
|
||||||
</if>
|
</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 != '' ">
|
<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')
|
AND tt.update_time BETWEEN CONCAT(#{record.startTime}, ' 00:00:00') AND CONCAT(#{record.endTime}, ' 23:59:59')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue