feat: getCanMovePointOne 新增校验可用点位

This commit is contained in:
2024-06-14 17:10:17 +08:00
parent 4a1269fe45
commit a0b09b8361

View File

@@ -40,6 +40,7 @@
LEFT JOIN md_pb_papervehicle mp ON mp.vehicle_code = bs.vehicle_code
WHERE bs.point_type = #{pointType}
AND bs.point_location = #{location}
AND bs.is_used = '1'
AND 0 = (SELECT COUNT(*)
FROM sch_base_task t
WHERE (t.point_code1 = bs.point_code OR t.point_code2 = bs.point_code OR