소스 검색

修改派车取消单据sql异常

lengfaqiang 2 년 전
부모
커밋
e4afb03653
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sckw-modules/sckw-transport/src/main/resources/mapper/KwtWaybillOrderMapper.xml

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

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