|
|
|
@ -270,6 +270,12 @@
|
|
|
|
|
<if test="param.trainNumber != null and param.trainNumber!=''"> |
|
|
|
|
and lddl.train_number like concat('%',#{param.trainNumber},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.warehouseIdList != null and @org.apache.commons.collections4.CollectionUtils@isNotEmpty(param.warehouseIdList)"> |
|
|
|
|
and lddl.warehouse_id in |
|
|
|
|
<foreach collection="param.warehouseIdList" item="item" open="(" close=")" separator=","> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<if test="param.warehouseName != null and param.warehouseName!=''"> |
|
|
|
|
and lddl.warehouse_name like concat('%',#{param.warehouseName},'%') |
|
|
|
|
</if> |
|
|
|
@ -312,6 +318,12 @@
|
|
|
|
|
<if test="param.warehouseName != null and param.warehouseName!=''"> |
|
|
|
|
and lddl.warehouse_name like concat('%',#{param.warehouseName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.warehouseIdList != null and @org.apache.commons.collections4.CollectionUtils@isNotEmpty(param.warehouseIdList)"> |
|
|
|
|
and ldr.warehouse_id in |
|
|
|
|
<foreach collection="param.warehouseIdList" item="item" open="(" close=")" separator=","> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<if test="param.vehicleName != null and param.vehicleName!=''"> |
|
|
|
|
and lddl.vehicle_name like concat('%',#{param.vehicleName},'%') |
|
|
|
|
</if> |
|
|
|
@ -348,6 +360,12 @@
|
|
|
|
|
<if test="param.warehouseName != null and param.warehouseName!=''"> |
|
|
|
|
and lddl.warehouse_name like concat('%',#{param.warehouseName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.warehouseIdList != null and @org.apache.commons.collections4.CollectionUtils@isNotEmpty(param.warehouseIdList)"> |
|
|
|
|
and lddl.warehouse_id in |
|
|
|
|
<foreach collection="param.warehouseIdList" item="item" open="(" close=")" separator=","> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<if test="param.vehicleName != null and param.vehicleName!=''"> |
|
|
|
|
and lddl.vehicle_name like concat('%',#{param.vehicleName},'%') |
|
|
|
|
</if> |
|
|
|
@ -391,6 +409,12 @@
|
|
|
|
|
<if test="param.vehicleName != null and param.vehicleName!=''"> |
|
|
|
|
and lddl.vehicle_name like concat('%',#{param.vehicleName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.warehouseIdList != null and @org.apache.commons.collections4.CollectionUtils@isNotEmpty(param.warehouseIdList)"> |
|
|
|
|
and lddl.warehouse_id in |
|
|
|
|
<foreach collection="param.warehouseIdList" item="item" open="(" close=")" separator=","> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<if test="param.driverName != null and param.driverName!=''"> |
|
|
|
|
and lddl.driver_name like concat('%',#{param.driverName},'%') |
|
|
|
|
</if> |
|
|
|
@ -755,6 +779,12 @@
|
|
|
|
|
<if test="param.warehouseName != null and param.warehouseName!=''"> |
|
|
|
|
and lddl.warehouse_name like concat('%',#{param.warehouseName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.warehouseIdList != null and @org.apache.commons.collections4.CollectionUtils@isNotEmpty(param.warehouseIdList)"> |
|
|
|
|
and ldr.warehouse_id in |
|
|
|
|
<foreach collection="param.warehouseIdList" item="item" open="(" close=")" separator=","> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<if test="param.vehicleName != null and param.vehicleName!=''"> |
|
|
|
|
and lddl.vehicle_name like concat('%',#{param.vehicleName},'%') |
|
|
|
|
</if> |
|
|
|
@ -797,6 +827,12 @@
|
|
|
|
|
<if test="param.vehicleName != null and param.vehicleName!=''"> |
|
|
|
|
and lddl.vehicle_name like concat('%',#{param.vehicleName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.warehouseIdList != null and @org.apache.commons.collections4.CollectionUtils@isNotEmpty(param.warehouseIdList)"> |
|
|
|
|
and ldr.warehouse_id in |
|
|
|
|
<foreach collection="param.warehouseIdList" item="item" open="(" close=")" separator=","> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<if test="param.driverName != null and param.driverName!=''"> |
|
|
|
|
and lddl.driver_name like concat('%',#{param.driverName},'%') |
|
|
|
|
</if> |
|
|
|
|