Explorar o código

fix:运力实时调度列表查询bug

wangweiyu %!s(int64=4) %!d(string=hai) anos
pai
achega
20980d5fc3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/resources/mapper/TruckMapper.xml

+ 1 - 1
src/main/resources/mapper/TruckMapper.xml

@@ -262,7 +262,7 @@
             and wo.type = #{param.orderType}
         </if>
         left join tms_work_cycle wc on truck.truck_id = wc.truck_id and wc.status = 1
-        WHERE truck.org_id = #{param.orgId} and wo.id is null
+        WHERE truck.org_id = #{param.orgId} and two.id is null
         <if test="param.orderType == 1">
             and ( wc.jing_weight = 0 or wc.jing_weight is null )
         </if>