feat: getCanMovePointOne 新增校验可用点位
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user