-- 创建巡检问题序列
CREATE SEQUENCE IF NOT EXISTS seq_patrol_problem
INCREMENT 1
START 1
NO CYCLE;

-- 创建工单序列
CREATE SEQUENCE IF NOT EXISTS seq_work_order
INCREMENT 1
START 1
NO CYCLE;