|
|
@ -1223,41 +1223,41 @@ |
|
|
|
<where> |
|
|
|
<where> |
|
|
|
ldsa.order_status in ('70','80') |
|
|
|
ldsa.order_status in ('70','80') |
|
|
|
<if test="param.waybillNumber != null and param.waybillNumber != ''"> |
|
|
|
<if test="param.waybillNumber != null and param.waybillNumber != ''"> |
|
|
|
AND ldsa.waybill_number like concat("%",#{param.waybillNumber},"%") |
|
|
|
AND ldsa.waybill_number like concat(#{param.waybillNumber},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.serviceNumber != null and param.serviceNumber != ''"> |
|
|
|
<if test="param.serviceNumber != null and param.serviceNumber != ''"> |
|
|
|
AND ldsa.service_number like concat("%",#{param.serviceNumber},"%") |
|
|
|
AND ldsa.service_number like concat(#{param.serviceNumber},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.orderCode != null and param.orderCode != ''"> |
|
|
|
<if test="param.orderCode != null and param.orderCode != ''"> |
|
|
|
AND ldsa.order_code like concat("%",#{param.orderCode},"%") |
|
|
|
AND ldsa.order_code like concat(#{param.orderCode},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.warehouseName != null and param.warehouseName != ''"> |
|
|
|
<if test="param.warehouseName != null and param.warehouseName != ''"> |
|
|
|
AND ldsa.warehouse like concat("%",#{param.warehouseName},"%") |
|
|
|
AND ldsa.warehouse like concat(#{param.warehouseName},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.mallName != null and param.mallName != ''"> |
|
|
|
<if test="param.mallName != null and param.mallName != ''"> |
|
|
|
AND ldsa.mall_name like concat("%",#{param.mallName},"%") |
|
|
|
AND ldsa.mall_name like concat(#{param.mallName},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.brand != null and param.brand != ''"> |
|
|
|
<if test="param.brand != null and param.brand != ''"> |
|
|
|
AND ldsa.brand like concat("%",#{param.brand},"%") |
|
|
|
AND ldsa.brand like concat("%",#{param.brand},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.consigneePerson != null and param.consigneePerson != ''"> |
|
|
|
<if test="param.consigneePerson != null and param.consigneePerson != ''"> |
|
|
|
AND ldsa.consignee_person like concat("%",#{param.consigneePerson},"%") |
|
|
|
AND ldsa.consignee_person like concat(#{param.consigneePerson},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.consigneeUnit != null and param.consigneeUnit != ''"> |
|
|
|
<if test="param.consigneeUnit != null and param.consigneeUnit != ''"> |
|
|
|
AND ldsa.consignee_unit like concat("%",#{param.consigneeUnit},"%") |
|
|
|
AND ldsa.consignee_unit like concat(#{param.consigneeUnit},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.deliveryListInfo != null and param.deliveryListInfo != ''"> |
|
|
|
<if test="param.deliveryListInfo != null and param.deliveryListInfo != ''"> |
|
|
|
AND m.mssg like concat("%",#{param.deliveryListInfo},"%") |
|
|
|
AND m.mssg like concat(#{param.deliveryListInfo},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.driverName != null and param.driverName != ''"> |
|
|
|
<if test="param.driverName != null and param.driverName != ''"> |
|
|
|
AND m.driverName like concat("%",#{param.driverName},"%") |
|
|
|
AND m.driverName like concat(#{param.driverName},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.examineUserNames != null and param.examineUserNames != ''"> |
|
|
|
<if test="param.examineUserNames != null and param.examineUserNames != ''"> |
|
|
|
AND m.examine_user_name like concat("%",#{param.examineUserNames},"%") |
|
|
|
AND m.examine_user_name like concat(#{param.examineUserNames},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test="param.reservationInfo != null and param.reservationInfo != ''"> |
|
|
|
<if test="param.reservationInfo != null and param.reservationInfo != ''"> |
|
|
|
AND t.msg like concat("%",#{param.reservationInfo},"%") |
|
|
|
AND t.msg like concat(#{param.reservationInfo},"%") |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.warehouseId != null and param.warehouseId != ''"> |
|
|
|
<if test="param.warehouseId != null and param.warehouseId != ''"> |
|
|
|
AND ldsa.warehouse_id = #{param.warehouseId} |
|
|
|
AND ldsa.warehouse_id = #{param.warehouseId} |
|
|
|