|
|
|
@ -63,9 +63,12 @@ |
|
|
|
<if test="data.palletId != null and data.palletId != ''"> |
|
|
|
AND pallet_id LIKE CONCAT('%', #{data.palletId}, '%') |
|
|
|
</if> |
|
|
|
<if test="data.status != null and data.status != ''"> |
|
|
|
<if test="data.status != null and data.status != '' and data.status!='未完成'"> |
|
|
|
AND status = #{data.status} |
|
|
|
</if> |
|
|
|
<if test="data.status != null and data.status == '未完成'"> |
|
|
|
AND status != '已完成' AND status !='已取消' |
|
|
|
</if> |
|
|
|
<if test="data.startDate != null and data.startDate != ''"> |
|
|
|
AND CONVERT(VARCHAR(10), created_time, 23) >= #{data.startDate} |
|
|
|
</if> |
|
|
|
|