Parcourir la source

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

wangweiyu il y a 4 ans
Parent
commit
a9edfb8c31
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/main/resources/mapper/TruckMapper.xml

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

@@ -171,7 +171,7 @@
             select * from tms_work_order wo where 40 > wo.order_status
             order by order_status desc, plan_reach_time asc
             ) two on truck.truck_id = two.truck_id
-            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!=null and param.deptId!=null">
                 and truck.dept_id = #{param.deptId}
             </if>