--列维
DELETE FROM T_TPO_COL_MEMBER WHERE FID = 1839076509734706176;
INSERT INTO T_TPO_COL_MEMBER(FID,FDATATYPE,FDIMENSION,FMASTERID,FSTATUS,FPARENTID,FNUMBER,FNAME,FCREATETIME,FMODIFIERID,FENABLE,FISLEAF,FMINLENGTH,FMODEL,FREMARK,FMODIFYTIME,FMAXLENGTH,FFORMAT,FLEVEL,FSYSPRESET,FCREATORID,FLONGNUMBER) VALUES (1839076509734706176,'string',1477594945425507328,1839076509734706176,'C',1722356370881507328,'tcnfep_declare_entry_country','代扣代缴申报子表-国家',{ts'2023-12-13  00:00:00'},1650730223110560768,'1','1',0,1472330177106149376,' ',{ts'2023-12-13  00:00:00'},0,' ',3,'0',1650730223110560768,'tcnfep.tcnfep_declare_entry.tcnfep_declare_entry_country'); 
DELETE FROM T_TPO_COL_MEMBER_L WHERE FPKID = '3RWUJ1RHAU/W';
INSERT INTO T_TPO_COL_MEMBER_L(FID,FPKID,FLOCALEID,FREMARK,FFULLNAME,FNAME) VALUES (1839076509734706176,'3RWUJ1RHAU/W','zh_CN',' ','非贸付汇.代扣代缴申报子表.代扣代缴申报子表-国家','代扣代缴申报子表-国家'); 
DELETE FROM T_TPO_COL_MEMBER_L WHERE FPKID = '3RWUJ1RHAU/X';
INSERT INTO T_TPO_COL_MEMBER_L(FID,FPKID,FLOCALEID,FREMARK,FFULLNAME,FNAME) VALUES (1839076509734706176,'3RWUJ1RHAU/X','zh_TW',' ',' ','代扣代繳申報子表-國家'); 
--报表项
DELETE FROM T_TPO_REPORT_ITEM WHERE FID = 1839087440166426624;
INSERT INTO T_TPO_REPORT_ITEM(FID,FMODELID,FMASTERID,FSTATUS,FNUMBER,FNAME,FLONGNAME,FCREATETIME,FROWID,FMODIFIERID,FENABLE,FMODIFYTIME,FFCOLUMNID,FCREATORID) VALUES (1839087440166426624,1472330177106149376,0,'C','tcnfep_declare_entry_1#tcnfep_declare_entry_country','代扣代缴申报子表-增值税#代扣代缴申报子表-国家','代扣代缴申报子表.增值税#非贸付汇.代扣代缴申报子表.代扣代缴申报子表-国家',{ts'2023-12-13  00:00:00'},1722356370897935360,1650730223110560768,'1',{ts'2023-12-13  00:00:00'},1839076509734706176,1650730223110560768); 
DELETE FROM T_TPO_REPORT_ITEM_L WHERE FPKID = '3RWWKPWDAHZP';
INSERT INTO T_TPO_REPORT_ITEM_L(FID,FPKID,FLOCALEID,FNAME,FLONGNAME) VALUES (1839087440166426624,'3RWWKPWDAHZP','zh_CN','代扣代缴申报子表-增值税#代扣代缴申报子表-国家','代扣代缴申报子表.增值税#非贸付汇.代扣代缴申报子表.代扣代缴申报子表-国家'); 
--取数规则
DELETE FROM T_TPO_RULE_FETCH WHERE FID = 1839087721193184256;
INSERT INTO T_TPO_RULE_FETCH(FID,FMODELID,FDATATYPE,FDESCRIPTION,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FMODIFIERID,FENABLE,FMODIFYTIME,FFITTYPE,FCREATORID,FFORMULA) VALUES (1839087721193184256,1472330177106149376,'number',' ',1839087721193184256,'A','CN-BBXGZ-000140731','{M[select country from tcnfep_withhold_remit where billno =''#daftnumber'']}',{ts'2023-12-13  00:00:00'},1650730223110560768,'1',{ts'2023-12-13  00:00:00'},'BBXGZ',1650730223110560768,'{M[select country from tcnfep_withhold_remit where billno =''#daftnumber'']}'); 
DELETE FROM T_TPO_RULE_FETCH_L WHERE FPKID = '3RWWMRS283QK';
INSERT INTO T_TPO_RULE_FETCH_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1839087721193184256,'3RWWMRS283QK','zh_CN','{M[select country from tcnfep_withhold_remit where billno =''#daftnumber'']}'); 
DELETE FROM T_TPO_REP_IT_FETCH_RE WHERE FENTRYID = 1839087721277070336;
INSERT INTO T_TPO_REP_IT_FETCH_RE(FID,FREPORTITEMID,FENTRYID,FSEQ) VALUES (1839087721193184256,1839087440166426624,1839087721277070336,0); 
--样式规则
DELETE FROM T_TPO_RULE_STYLE WHERE FID = 1839089414223993856;
INSERT INTO T_TPO_RULE_STYLE(FID,FMODELID,FDESCRIPTION,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FMODIFIERID,FENABLE,FMODIFYTIME,FFITTYPE,FCELLTYPE,FCREATORID,FFORMULA) VALUES (1839089414223993856,1472330177106149376,' ',1839089414223993856,'A','CN-BBXGZ-000000227','[{"val":"bd_country","text":"{name}"}]',{ts'2023-12-13  00:00:00'},1650730223110560768,'1',{ts'2023-12-13  00:00:00'},'BBXGZ','5',1650730223110560768,'[{"val":"bd_country","text":"{name}"}]'); 
DELETE FROM T_TPO_RULE_STYLE_L WHERE FPKID = '3RWWZ2ZCI1V=';
INSERT INTO T_TPO_RULE_STYLE_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1839089414223993856,'3RWWZ2ZCI1V=','zh_CN','[{"val":"bd_country","text":"{name}"}]'); 
DELETE FROM T_TPO_REP_IT_STYLE_RE WHERE FENTRYID = 1839089414450486272;
INSERT INTO T_TPO_REP_IT_STYLE_RE(FID,FREPORTITEMID,FENTRYID,FSEQ) VALUES (1839089414223993856,1839087440166426624,1839089414450486272,0); 
--模板取数规则配置
DELETE FROM T_TPO_TEMPLATE_RULE_FETCH WHERE FID = 1839087890743729152;
INSERT INTO T_TPO_TEMPLATE_RULE_FETCH(FID,FMODELID,FCREATETIME,FREPORTITEMID,FFORMULAID,FTEMPLATEID,FCREATORID) VALUES (1839087890743729152,1472330177106149376,{ts'2023-12-13  00:00:00'},1839087440166426624,1839087721193184256,1402147661007729664,1650730223110560768); 
--模板样式规则配置
DELETE FROM T_TPO_TEMPLATE_RULE_STYLE WHERE FID = 1839089855984867328;
INSERT INTO T_TPO_TEMPLATE_RULE_STYLE(FID,FMODELID,FCREATETIME,FREPORTITEMID,FTEMPLATEID,FCREATORID,FSTYLEID) VALUES (1839089855984867328,1472330177106149376,{ts'2023-12-13  00:00:00'},1839087440166426624,1402147661007729664,1650730223110560768,1839089414223993856); 

DELETE FROM T_TPO_TEMP_REP_RELATION WHERE FENTRYID = 1839087440560691200;
INSERT INTO T_TPO_TEMP_REP_RELATION(FID,FREPORTITEMID,FENTRYID,FSEQ,FROWCOL) VALUES (1402147661007729664,1839087440166426624,1839087440560691200,44,'tcnfep_declare_entry_1#tcnfep_declare_entry_country'); 

--删除原来单元格模板取数规则配置、模板样式规则配置
DELETE FROM T_TPO_TEMPLATE_RULE_FETCH WHERE FID = 1722356411423300617;
DELETE FROM T_TPO_TEMPLATE_RULE_STYLE WHERE FID = 1722356411499147267;