|
|
@ -2013,6 +2013,9 @@ |
|
|
<if test="query.endDate2 != null"> |
|
|
<if test="query.endDate2 != null"> |
|
|
AND #{query.endDate2} >= a.task_date |
|
|
AND #{query.endDate2} >= a.task_date |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test = "query.workCenterDesc != null and query.workCenterDesc != ''"> |
|
|
|
|
|
AND w.WorkCenterDesc LIKE #{query.workCenterDesc} |
|
|
|
|
|
</if> |
|
|
</where> |
|
|
</where> |
|
|
ORDER BY |
|
|
ORDER BY |
|
|
CASE WHEN a.state = '待检验' THEN 1 |
|
|
CASE WHEN a.state = '待检验' THEN 1 |
|
|
|