|
@@ -105,6 +105,7 @@
|
|
|
<where>
|
|
|
<if test=' this.has("id") '>and id = #{id}</if>
|
|
|
<if test=' this.has("customerId") '>and customer_id = #{customerId}</if>
|
|
|
+ <if test=' this.has("customerName") '>and customer_name like concat('%',#{customerName},'%')</if>
|
|
|
<if test=' this.has("declarePeople") '>and declare_people like concat('%',#{declarePeople},'%')</if>
|
|
|
<if test=' this.has("goodsName") '>and goods_name = #{goodsName}</if>
|
|
|
<if test=' this.has("grossWeight") '>and gross_weight = #{grossWeight}</if>
|
|
@@ -115,15 +116,15 @@
|
|
|
<if test=' this.has("productionMode") '>and production_mode = #{productionMode}</if>
|
|
|
<if test=' this.has("origin") '>and origin = #{origin}</if>
|
|
|
<if test=' this.has("producerCode") '>and producer_code = #{producerCode}</if>
|
|
|
- <if test=' this.has("sendUnit") '>and send_unit = #{sendUnit}</if>
|
|
|
- <if test=' this.has("receiveUnit") '>and receive_unit = #{receiveUnit}</if>
|
|
|
+ <if test=' this.has("sendUnit") '>and send_unit like concat('%',#{sendUnit},'%')</if>
|
|
|
+ <if test=' this.has("receiveUnit") '>and receive_unit like concat('%',#{receiveUnit},'%')</if>
|
|
|
<if test=' this.has("route") '>and route = #{route}</if>
|
|
|
<if test=' this.has("driverName") '>and driver_name = #{driverName}</if>
|
|
|
<if test=' this.has("driverPhone") '>and driver_phone = #{driverPhone}</if>
|
|
|
<if test=' this.has("agent") '>and agent = #{agent}</if>
|
|
|
<if test=' this.has("agentPhone") '>and agent_phone = #{agentPhone}</if>
|
|
|
- <if test=' this.has("chinaCarNo") '>and china_car_no = #{chinaCarNo}</if>
|
|
|
- <if test=' this.has("carNo") '>and car_no = #{carNo}</if>
|
|
|
+ <if test=' this.has("chinaCarNo") '>and china_car_no like concat('%',#{chinaCarNo},'%')</if>
|
|
|
+ <if test=' this.has("carNo") '>and car_no like concat('%',#{carNo},'%')</if>
|
|
|
<if test=' this.has("customProof") '>and custom_proof = #{customProof}</if>
|
|
|
<if test=' this.has("quarantineProof") '>and quarantine_proof = #{quarantineProof}</if>
|
|
|
<if test=' this.has("shop") '>and shop = #{shop}</if>
|