--更新任务对应时间字段为计划开始时间
update t_msplan_gttsource set fttimefielddesc='单据头.计划开始时间',fttimefield='planstartdate'
where fid in(1406532930871768064,1423370724491428864,1438494107356890112,1419530514422837248,1437663285385139200,1447881632072670208,1437668778363098112,1447877269409307648);



--横道类型标签设置
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1467483415530987520;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1406532931173803010,'-','name','单据头.计划开始时间,单据头.计划完成时间','planstartdate,planenddate',1467483415530987520,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1467483415530987521;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES ('单据头.实际完成百分比(%)',1406532931173803011,' ',' ',' ',' ',1467483415530987521,'pmts_task','finishpercent',' ',1,' ',' ');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468141677376994304;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1423370724600480769,'-','name','单据头.计划开始时间,单据头.计划完成时间','planstartdate,planenddate',1468141677376994304,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468141677376994305;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1423370724600480772,'-','name','单据头.计划开始时间','planstartdate',1468141677376994305,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468142716213820416;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1438494107809874944,'-','name','单据头.计划开始时间,单据头.计划完成时间','planstartdate,planenddate',1468142716213820416,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468142716213820417;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1438494107809874947,'-','name','单据头.计划开始时间','planstartdate',1468142716213820417,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468147534126984192;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1437668778488927233,'-','name','单据头.计划开始时间,单据头.计划完成时间','planstartdate,planenddate',1468147534126984192,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468147534126984193;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1437668778488927236,'-','name','单据头.计划开始时间','planstartdate',1468147534126984193,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468148234064047104;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1447877269459638275,'-','name','单据头.计划开始时间,单据头.计划完成时间','planstartdate,planenddate',1468148234064047104,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468148234064047105;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1447877269459638278,'-','name','单据头.计划开始时间','planstartdate',1468148234064047105,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468149077169482752;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1419530514523500545,'-','name','单据头.计划开始时间,单据头.计划完成时间','planstartdate,planenddate',1468149077169482752,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468149077169482753;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1419530514523500548,'-','name','单据头.计划开始时间','planstartdate',1468149077169482753,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468151595387616256;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1437663285469025281,'-','name','单据头.计划开始时间,单据头.计划完成时间','planstartdate,planenddate',1468151595387616256,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468151595387616257;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1437663285469025284,'-','name','单据头.计划开始时间','planstartdate',1468151595387616257,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468153129697573888;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1447881632114612227,'-','name','单据头.计划开始时间,单据头.计划完成时间','planstartdate,planenddate',1468153129697573888,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468153129697573889;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1447881632114612230,'-','name','单据头.计划开始时间','planstartdate',1468153129697573889,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1467483415530987522;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES (' ',1417951510943240192,'-','name','单据头.计划开始时间','planstartdate',1467483415530987522,'pmts_task',' ','单据头.任务名称',1,' ','~');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468180208266805248;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES ('单据头.实际完成百分比(%)',1419530514523500546,' ',' ',' ',' ',1468180208266805248,'pmts_task','finishpercent',' ',1,' ',' ');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468180567752212480;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES ('单据头.实际完成百分比(%)',1423370724600480770,' ',' ',' ',' ',1468180567752212480,'pmts_task','finishpercent',' ',1,' ',' ');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468180780143378432;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES ('单据头.实际完成百分比(%)',1438494107809874945,' ',' ',' ',' ',1468180780143378432,'pmts_task','finishpercent',' ',1,' ',' ');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468180948091699200;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES ('单据头.实际完成百分比(%)',1447881632114612228,' ',' ',' ',' ',1468180948091699200,'pmts_task','finishpercent',' ',1,' ',' ');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468181146213842944;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES ('单据头.实际完成百分比(%)',1447877269459638276,' ',' ',' ',' ',1468181146213842944,'pmts_task','finishpercent',' ',1,' ',' ');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468181304339103744;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES ('单据头.实际完成百分比(%)',1437668778488927234,' ',' ',' ',' ',1468181304339103744,'pmts_task','finishpercent',' ',1,' ',' ');
DELETE FROM t_msplan_crosscontent WHERE FDETAILID = 1468182370380185600;
INSERT INTO t_msplan_crosscontent(FENTRYCROSSFCDESCONE,FENTRYID,FENTRYFLAGCONNECTOR,FENTRYCROSSFLAGCONTENT,FENTRYCROSSFLAGDETAILDESC,FENTRYCROSSFLAGDETAILCONT,FDETAILID,FCSVIEWSCHEMEID,FENTRYCROSSFCONE,FENTRYCROSSFLAGCONTENTDES,FSEQ,FENTRYFLAGCONNECTORONE,FENTRYFLAGDETAILCONNECTOR) VALUES ('单据头.实际完成百分比(%)',1437663285469025282,' ',' ',' ',' ',1468182370380185600,'pmts_task','finishpercent',' ',1,' ',' ');


--横道类型移动控制
DELETE FROM t_msplan_crossmoveentry WHERE FDETAILID = 1467491129501942784;
INSERT INTO t_msplan_crossmoveentry(FCMVIEWSCHEMEID,FPARTMOVE,FDETAILID,FENTRYID,FSEQ,FENTIRETYMOVE) VALUES ('pmts_task','1',1467491129501942784,1406532931173803010,1,'1');
DELETE FROM t_msplan_crossmoveentry WHERE FDETAILID = 1468153859439361024;
INSERT INTO t_msplan_crossmoveentry(FCMVIEWSCHEMEID,FPARTMOVE,FDETAILID,FENTRYID,FSEQ,FENTIRETYMOVE) VALUES ('pmts_task','1',1468153859439361024,1437663285469025284,1,'1');
DELETE FROM t_msplan_crossmoveentry WHERE FDETAILID = 1468154034769701888;
INSERT INTO t_msplan_crossmoveentry(FCMVIEWSCHEMEID,FPARTMOVE,FDETAILID,FENTRYID,FSEQ,FENTIRETYMOVE) VALUES ('pmts_task','1',1468154034769701888,1437668778488927236,1,'1');
DELETE FROM t_msplan_crossmoveentry WHERE FDETAILID = 1468154165917199360;
INSERT INTO t_msplan_crossmoveentry(FCMVIEWSCHEMEID,FPARTMOVE,FDETAILID,FENTRYID,FSEQ,FENTIRETYMOVE) VALUES ('pmts_task','1',1468154165917199360,1423370724600480769,1,'1');


DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467409658946850816;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_wbs',1467409658946850816,1448402326401390592,2,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467409658946850817;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1467409658946850817,1448402326401390592,3,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467410193208905728;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_wbs',1467410193208905728,1448403161520871424,2,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467410193208905729;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1467410193208905729,1448403161520871424,3,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467410562349555712;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_wbs',1467410562349555712,1448404710410229760,2,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467410562349555713;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1467410562349555713,1448404710410229760,3,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1448398683304434688;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1448398683304434688,1448397882938955776,1,'wbs','pmts_wbs','单据头.WBS',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1448400037636807681;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1448400037636807681,1448400037636807680,1,'wbs','pmts_wbs','单据头.WBS',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1448401325246191617;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1448401325246191617,1448401325246191616,1,'wbs','pmts_wbs','单据头.WBS',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1448402326401390593;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1448402326401390593,1448402326401390592,1,'wbs','pmts_wbs','单据头.WBS',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1448403161520871425;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1448403161520871425,1448403161520871424,1,'wbs','pmts_wbs','单据头.WBS',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1448404710410229761;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1448404710410229761,1448404710410229760,1,'wbs','pmts_wbs','单据头.WBS',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1448406769066908673;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1448406769066908673,1448406769066908672,1,'wbs','pmts_wbs','单据头.WBS',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1449982442260728832;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_wbs',1449982442260728832,1448406769066908672,2,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1449982442260728833;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1449982442260728833,1448406769066908672,3,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1462930974005270528;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1462930974005270528,1448405437132118016,1,'wbs','pmts_wbs','单据头.WBS',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1465313259430163456;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_wbs',1465313259430163456,1448405437132118016,2,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1465313259430163457;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1465313259430163457,1448405437132118016,3,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467407196949078016;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_wbs',1467407196949078016,1448397882938955776,2,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467407196949078017;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1467407196949078017,1448397882938955776,3,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467408286025277440;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_wbs',1467408286025277440,1448400037636807680,2,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467408286025277441;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1467408286025277441,1448400037636807680,3,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467408917528121344;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_wbs',1467408917528121344,1448401325246191616,2,'projectnum','pmpd_project','单据头.项目号',' ');
DELETE FROM t_msplan_entity_relation WHERE FDETAILID = 1467408917528121345;
INSERT INTO t_msplan_entity_relation(FRENTITYID,FDETAILID,FENTRYID,FSEQ,FRENTITYFLAG,FRUPLEVELENTITYID,FRENTITYFLAGDESC,FRENTRYFLAG) VALUES ('pmts_task',1467408917528121345,1448401325246191616,3,'projectnum','pmpd_project','单据头.项目号',' ');

