Bladeren bron

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

wangweiyu 4 jaren geleden
bovenliggende
commit
20980d5fc3
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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>