Explorar o código

修改派车取消单据sql异常

lengfaqiang %!s(int64=2) %!d(string=hai) anos
pai
achega
3af604474a

+ 1 - 1
sckw-modules/sckw-transport/src/main/resources/mapper/KwtWaybillOrderMapper.xml

@@ -651,7 +651,7 @@
             and kwo.t_order_id = #{tOrderId, jdbcType=BIGINT}
         </if>
         <if test="lOrderId != null and lOrderId != ''">
-            and kwo.id = #{lOrderId, jdbcType=BIGINT}
+            and kwo.l_order_id = #{lOrderId, jdbcType=BIGINT}
         </if>
         <if test="driverId != null and driverId != ''">
             and kwo.driver_id = #{driverId, jdbcType=BIGINT}