-- 迁移绑定的调度作业数据到调度计划分录表

INSERT INTO t_sch_schedule_entry (FID,FENTRYID,FJOBNUMBER) SELECT FID,FID,FJOBID from t_sch_schedule WHERE FID NOT IN (SELECT t1.FID FROM t_sch_schedule_entry t2 LEFT JOIN  t_sch_schedule t1 ON t1.FID = t2.FID);

