-- 删除之前的横道标签设置
delete from t_msplan_crosscontent where fentryid in(select fentryid from t_msplan_crossset where fid = 1505661681320088576);

--甘特图数据源
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1621632955640201222;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FLABELFLAG,FCVIEWID,FLTYPEONE,FLABELFORMAT,FENTRYFLAGCONNECTOR,FLTYPE,FLABELTYPE,FLABELFORMATONE,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FSEQ,FLTYPEONEWO,FLABELKIND,FENTRYFLAGDETAILCONNECTOR,FCVIEWALIAS,FCUSTOMIMPL,FLABELDESC,FENTRYID,FLBLTYPE,FENTRYCROSSFLAGCONTENT,FLABELFORMATTWO,FLABELTYPETWO,FENTRYCROSSFLAGDETAILDESC,FLABELTYPEONE,FLABELCONNECTOR,FLABLESEAT,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FLBLFORMAT,FENTRYFLAGCONNECTORONE) VALUES (' ','billno,customer.name',1503462016008873984,' ',' ',' ',' ',' ',' ',' ',1621632955640201222,' ',1,' ','1',' ','检修工作中心',0,'单据头.单据编号,单据头.客户编码.名称',1505661681353641988,' ',' ',' ',' ',' ',' ','|','1',' ',' ',' ',' '); 
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1621632955640201223;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FLABELFLAG,FCVIEWID,FLTYPEONE,FLABELFORMAT,FENTRYFLAGCONNECTOR,FLTYPE,FLABELTYPE,FLABELFORMATONE,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FSEQ,FLTYPEONEWO,FLABELKIND,FENTRYFLAGDETAILCONNECTOR,FCVIEWALIAS,FCUSTOMIMPL,FLABELDESC,FENTRYID,FLBLTYPE,FENTRYCROSSFLAGCONTENT,FLABELFORMATTWO,FLABELTYPETWO,FENTRYCROSSFLAGDETAILDESC,FLABELTYPEONE,FLABELCONNECTOR,FLABLESEAT,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FLBLFORMAT,FENTRYFLAGCONNECTORONE) VALUES (' ','estiapproachtime,estideparttime,repaircycle',1503462016008873984,' ',' ',' ',' ',' ',' ',' ',1621632955640201223,' ',2,' ','1',' ','检修工作中心',0,'单据头.预计进场时间,单据头.预计离场时间,单据头.计划检修周期',1505661681353641988,' ',' ',' ',' ',' ',' ',',','6',' ',' ',' ',' '); 


--设置预制数据为预设数据
update t_msplan_gttsource set fispreset ='1',fischange='1' where fid = 1505661681320088576;
