
-- 以前的脚本误删除了陇南市（编码00354），此处插入该数据

DELETE FROM T_BD_ADMINDIVISIONPRE WHERE FID = 354;
INSERT INTO T_BD_ADMINDIVISIONPRE(FFULLSPELL,FCOUNTRYID,FDESCRIPTION,FMASTERID,FADMINDIVISIONLVID,FCREATETIME,FAREACODE,FENABLE,FLEVEL,FLONGNUMBER,FFULLNAME,FISSYSTEM,FDISABLERID,FID,FCITYNUMBER,FDISABLEDATE,FPARENTID,FISCITY,FSTATUS,FNUMBER,FNAME,FISLEAF,FMODIFIERID,FMODIFYTIME,FSIMPLESPELL,FCREATORID) VALUES ('Longnan City',1000001,'陇南',354,2,{ts'2021-12-01  00:00:00'},'621200','1',2,'00274.00354','甘肃省_陇南市','1',0,354,' ',NULL,274,'1','C','00354','陇南市','0',0,{ts'2021-12-01  12:26:18'},'LNS',1); 


-- 原行政区划数据需要重新启用

UPDATE T_BD_ADMINDIVISION SET FENABLE = 1 WHERE FID = 354;

-- 新增预置数据：龙南市

DELETE FROM T_BD_ADMINDIVISIONPRE WHERE fid = 843545341209612544;
INSERT INTO T_BD_ADMINDIVISIONPRE(FFULLSPELL,FCOUNTRYID,FDESCRIPTION,FMASTERID,FADMINDIVISIONLVID,FCREATETIME,FAREACODE,FENABLE,FLEVEL,FLONGNUMBER,
FFULLNAME,FISSYSTEM,FDISABLERID,FID,FCITYNUMBER,FDISABLEDATE,FPARENTID,FISCITY,FSTATUS,FNUMBER,FNAME,FISLEAF,FMODIFIERID,FMODIFYTIME,FSIMPLESPELL,FCREATORID) 
VALUES ('Longnan City',1000001,'龙南',843545341209612544,3,{ts'2021-12-01 00:00:00'},'360783','1',3,'002036.002079.008305','江西省_赣州市_龙南市','1',0,843545341209612544,
' ',NULL,2079,'0','C','008305','龙南市','1',0,{ts'2021-12-01 12:26:18'},'LNS',1); 

DELETE FROM T_BD_ADMINDIVISIONPRE_L WHERE FPKID = '4QHGHFSR5TV';
INSERT INTO T_BD_ADMINDIVISIONPRE_L(fid,fpkid,fname,fsimplename,ffullname,fdescription,flocaleid) VALUES (843545341209612544,'4QHGHFSR5TV','龙南市',' ','江西省_赣州市_龙南市','龙南','zh_CN'); 
