|
|
|
@ -366,6 +366,33 @@
|
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<if test=" params.trainNumber != '' and params.trainNumber != null"> |
|
|
|
|
AND lddl.train_number like concat('%',#{params.trainNumber},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test=" params.clineName != '' and params.clineName != null"> |
|
|
|
|
AND ldr.consignee like concat('%',#{params.clineName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test=" params.type != '' and params.type != null"> |
|
|
|
|
AND lddl.type = #{params.type} |
|
|
|
|
</if> |
|
|
|
|
<if test=" params.kind != '' and params.kind != null"> |
|
|
|
|
AND lddl.kind = #{params.kind} |
|
|
|
|
</if> |
|
|
|
|
<if test=" params.vehicleName != '' and params.vehicleName != null"> |
|
|
|
|
AND ldds.vehicle_nub like concat('%',#{params.vehicleName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test=" params.driverName != '' and params.driverName != null"> |
|
|
|
|
AND ldds.driver_name like concat('%',#{params.driverName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test=" params.distributionCompany != '' and params.distributionCompany != null"> |
|
|
|
|
AND ldds.distribution_company like concat('%',#{params.distributionCompany},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test=" params.taskTime != '' and params.taskTime != null"> |
|
|
|
|
AND ldds.task_time like concat('%',#{params.taskTime},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test=" params.deliveryStatus != '' and params.deliveryStatus != null"> |
|
|
|
|
AND lddl.delivery_status =#{params.deliveryStatus} |
|
|
|
|
</if> |
|
|
|
|
</where> |
|
|
|
|
GROUP BY |
|
|
|
|
lddl.id |
|
|
|
|