czh 1 рік тому
батько
коміт
81ed1dfd74

+ 4 - 4
sckw-modules/sckw-transport/src/main/resources/mapper/KwtLogisticsOrderMapper.xml

@@ -2470,7 +2470,7 @@
                             and address_type = 1
                             and left(city_code, #{query.loadAddressLevel, jdbcType=INTEGER}) = left( #{query.loadAddressCode, jdbcType=INTEGER}, #{query.loadAddressLevel, jdbcType=INTEGER} )
                         </if>
-                        <if test="unloadAddressCode != null and unloadAddressCode != ''">
+                        <if test="query.unloadAddressCode != null and query.unloadAddressCode != ''">
                             and address_type = 2
                             and left(city_code, #{query.unloadAddressLevel, jdbcType=INTEGER}) = left( #{query.unloadAddressCode, jdbcType=INTEGER}, #{query.unloadAddressLevel, jdbcType=INTEGER} )
                         </if>
@@ -2568,7 +2568,7 @@
                         and address_type = 1
                         and left(city_code, #{query.loadAddressLevel, jdbcType=INTEGER}) = left( #{query.loadAddressCode, jdbcType=INTEGER}, #{query.loadAddressLevel, jdbcType=INTEGER} )
                     </if>
-                    <if test="unloadAddressCode != null and unloadAddressCode != ''">
+                    <if test="query.unloadAddressCode != null and query.unloadAddressCode != ''">
                         and address_type = 2
                         and left(city_code, #{query.unloadAddressLevel, jdbcType=INTEGER}) = left( #{query.unloadAddressCode, jdbcType=INTEGER}, #{query.unloadAddressLevel, jdbcType=INTEGER} )
                     </if>
@@ -2667,7 +2667,7 @@
                             and address_type = 1
                             and left(city_code, #{query.loadAddressLevel, jdbcType=INTEGER}) = left( #{query.loadAddressCode, jdbcType=INTEGER}, #{query.loadAddressLevel, jdbcType=INTEGER} )
                         </if>
-                        <if test="unloadAddressCode != null and unloadAddressCode != ''">
+                        <if test="query.unloadAddressCode != null and query.unloadAddressCode != ''">
                             and address_type = 2
                             and left(city_code, #{query.unloadAddressLevel, jdbcType=INTEGER}) = left( #{query.unloadAddressCode, jdbcType=INTEGER}, #{query.unloadAddressLevel, jdbcType=INTEGER} )
                         </if>
@@ -2765,7 +2765,7 @@
                             and address_type = 1
                             and left(city_code, #{query.loadAddressLevel, jdbcType=INTEGER}) = left( #{query.loadAddressCode, jdbcType=INTEGER}, #{query.loadAddressLevel, jdbcType=INTEGER} )
                         </if>
-                        <if test="unloadAddressCode != null and unloadAddressCode != ''">
+                        <if test="query.unloadAddressCode != null and query.unloadAddressCode != ''">
                             and address_type = 2
                             and left(city_code, #{query.unloadAddressLevel, jdbcType=INTEGER}) = left( #{query.unloadAddressCode, jdbcType=INTEGER}, #{query.unloadAddressLevel, jdbcType=INTEGER} )
                         </if>