Browse Source

1.订单号号模糊搜

single_db
pref_mail@163.com 1 year ago
parent
commit
33ef0f89bd
  1. 4
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseWaybillMapper.xml

4
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseWaybillMapper.xml

@ -65,7 +65,7 @@
from logpm_warehouse_waybill
<where>
<if test="param.waybillNo != null and param.waybillNo != ''"> and waybill_no like concat('%',#{param.waybillNo },'%')</if>
<if test="param.orderNo != null and param.orderNo != ''">and order_no like concat('%',#{param.orderNo }</if>
<if test="param.orderNo != null and param.orderNo != ''">and order_no like concat('%',#{param.orderNo },'%')</if>
<if test="param.departureWarehouseName != null and param.departureWarehouseName != ''">and departure_warehouse_name like concat('%',#{param.departureWarehouseName },'%')</if>
<if test="param.destinationWarehouseName != null and param.destinationWarehouseName != ''">and destination_warehouse_name like concat('%',#{param.destinationWarehouseName },'%')</if>
<if test="param.customerTrain != null and param.customerTrain != ''">and customer_train like concat('%',#{param.customerTrain },'%')</if>
@ -102,7 +102,7 @@
</foreach>
</if>
<if test="param.waybillNo != null and param.waybillNo != ''"> and waybill_no like concat('%',#{param.waybillNo },'%')</if>
<if test="param.orderNo != null and param.orderNo != ''">and order_no like concat('%',#{param.orderNo }</if>
<if test="param.orderNo != null and param.orderNo != ''">and order_no like concat('%',#{param.orderNo },'%')</if>
<if test="param.departureWarehouseName != null and param.departureWarehouseName != ''">and departure_warehouse_name like concat('%',#{param.departureWarehouseName },'%')</if>
<if test="param.destinationWarehouseName != null and param.destinationWarehouseName != ''">and destination_warehouse_name like concat('%',#{param.destinationWarehouseName },'%')</if>
<if test="param.customerTrain != null and param.customerTrain != ''">and customer_train like concat('%',#{param.customerTrain },'%')</if>

Loading…
Cancel
Save