|
|
@@ -1439,10 +1439,10 @@
|
|
|
and a.create_time <=#{query.createEndTime}
|
|
|
</if>
|
|
|
<if test="query.loadAddressCode != null and query.loadAddressCode != ''">
|
|
|
- and b.city_code = #{query.loadAddressCode}
|
|
|
+ and b.city_code LIKE CONCAT(#{query.loadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.unloadAddressCode != null and query.unloadAddressCode != ''">
|
|
|
- and c.city_code = #{query.unloadAddressCode}
|
|
|
+ and c.city_code LIKE CONCAT(#{query.unloadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.billingMode != null and query.billingMode != ''">
|
|
|
and a.billing_mode =#{query.billingMode}
|
|
|
@@ -1611,13 +1611,13 @@
|
|
|
and a.create_time <=#{query.createEndTime}
|
|
|
</if>
|
|
|
<if test="query.loadAddressCode != null and query.loadAddressCode != ''">
|
|
|
- and b.city_code = #{query.loadAddressCode}
|
|
|
+ and b.city_code LIKE CONCAT(#{query.loadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.unloadAddressCode != null and query.unloadAddressCode != ''">
|
|
|
- and c.city_code = #{query.unloadAddressCode}
|
|
|
+ and c.city_code LIKE CONCAT(#{query.unloadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.billingMode != null and query.billingMode != ''">
|
|
|
- and a.billing_mode =#{query.billingMode}
|
|
|
+ and a.billing_mode = #{query.billingMode}
|
|
|
</if>
|
|
|
</where>
|
|
|
group by a.status
|
|
|
@@ -2177,10 +2177,10 @@
|
|
|
and a.create_time <=#{query.createEndTime}
|
|
|
</if>
|
|
|
<if test="query.loadAddressCode != null and query.loadAddressCode != ''">
|
|
|
- and b.city_code = #{query.loadAddressCode}
|
|
|
+ and b.city_code LIKE CONCAT(#{query.loadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.unloadAddressCode != null and query.unloadAddressCode != ''">
|
|
|
- and c.city_code = #{query.unloadAddressCode}
|
|
|
+ and c.city_code LIKE CONCAT(#{query.unloadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.billingMode != null and query.billingMode != ''">
|
|
|
and a.billing_mode =#{query.billingMode}
|
|
|
@@ -2269,10 +2269,11 @@
|
|
|
and a.create_time <=#{query.createEndTime}
|
|
|
</if>
|
|
|
<if test="query.loadAddressCode != null and query.loadAddressCode != ''">
|
|
|
- and b.city_code = #{query.loadAddressCode}
|
|
|
+<!-- and b.city_code = #{query.loadAddressCode}-->
|
|
|
+ and b.city_code LIKE CONCAT(#{query.loadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.unloadAddressCode != null and query.unloadAddressCode != ''">
|
|
|
- and c.city_code = #{query.unloadAddressCode}
|
|
|
+ and c.city_code LIKE CONCAT(#{query.unloadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.billingMode != null and query.billingMode != ''">
|
|
|
and a.billing_mode =#{query.billingMode}
|
|
|
@@ -2363,10 +2364,12 @@
|
|
|
and a.create_time <=#{query.createEndTime}
|
|
|
</if>
|
|
|
<if test="query.loadAddressCode != null and query.loadAddressCode != ''">
|
|
|
- and b.city_code = #{query.loadAddressCode}
|
|
|
+<!-- and b.city_code = #{query.loadAddressCode}-->
|
|
|
+ and b.city_code LIKE CONCAT(#{query.loadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.unloadAddressCode != null and query.unloadAddressCode != ''">
|
|
|
- and c.city_code = #{query.unloadAddressCode}
|
|
|
+<!-- and c.city_code = #{query.unloadAddressCode}-->
|
|
|
+ and c.city_code LIKE CONCAT(#{query.unloadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.billingMode != null and query.billingMode != ''">
|
|
|
and a.billing_mode =#{query.billingMode}
|
|
|
@@ -2457,10 +2460,10 @@
|
|
|
and a.create_time <=#{query.createEndTime}
|
|
|
</if>
|
|
|
<if test="query.loadAddressCode != null and query.loadAddressCode != ''">
|
|
|
- and b.city_code = #{query.loadAddressCode}
|
|
|
+ and b.city_code LIKE CONCAT(#{query.loadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.unloadAddressCode != null and query.unloadAddressCode != ''">
|
|
|
- and c.city_code = #{query.unloadAddressCode}
|
|
|
+ and c.city_code LIKE CONCAT(#{query.unloadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.billingMode != null and query.billingMode != ''">
|
|
|
and a.billing_mode =#{query.billingMode}
|
|
|
@@ -2550,10 +2553,12 @@
|
|
|
and a.create_time <=#{query.createEndTime}
|
|
|
</if>
|
|
|
<if test="query.loadAddressCode != null and query.loadAddressCode != ''">
|
|
|
- and b.city_code = #{query.loadAddressCode}
|
|
|
+<!-- and b.city_code = #{query.loadAddressCode}-->
|
|
|
+ and b.city_code LIKE CONCAT(#{query.loadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.unloadAddressCode != null and query.unloadAddressCode != ''">
|
|
|
- and c.city_code = #{query.unloadAddressCode}
|
|
|
+<!-- and c.city_code = #{query.unloadAddressCode}-->
|
|
|
+ and c.city_code LIKE CONCAT(#{query.unloadAddressCode},'%')
|
|
|
</if>
|
|
|
<if test="query.billingMode != null and query.billingMode != ''">
|
|
|
and a.billing_mode =#{query.billingMode}
|