
DELETE FROM FXKH_TXL.ORGANIZATION;
SET IDENTITY_INSERT FXKH_TXL.ORGANIZATION ON;
insert into "FXKH_TXL"."ORGANIZATION"("ID", "NAME") VALUES
    ('1','湖北省防汛抗旱指挥部成员' ),
    ('2','国家防汛抗旱总指挥部办公室（应急部防汛抗旱司）' ),
    ('3','长江委水旱灾害防御局' ),
    ('4','湖北省省直机关有关单位和部队联系处（室）' ),
    ('5','湖北省应急管理厅机关' ),
    ('6','湖北省水利厅' ),
    ('7','市、州、县防指（防办）' ),
    ('8','有关单位' ),
    ('9','省应急管理厅机关常用电话' );
     SET IDENTITY_INSERT FXKH_TXL.ORGANIZATION Off;

insert into "FXKH_TXL"."USERS"("USERNAME", "PASSWORD", "SALT", "ROLE", "AB_ID")
VALUES ('superadmin','0d36b3ff219df5a7f7d2d3961588f50c','3517548df1ac46198dbfec4f1176ec93','99',0)
,('admin','0d36b3ff219df5a7f7d2d3961588f50c','3517548df1ac46198dbfec4f1176ec93','1',1)
,('user','0d36b3ff219df5a7f7d2d3961588f50c','3517548df1ac46198dbfec4f1176ec93','0',2);

insert into "FXKH_TXL"."ADDRESS_BOOK"("NAME", "PHONE", "ORGANIZATION", "POSITION") VALUES
('超级管理员','18891233883','1','巡视员')
,('政区管理员','18891233883','2','巡视员')
,('普通用户','18891233883','3','巡视员');


 alter table "FXKH_TXL"."AB_INFO" add column("ADCD" VARCHAR(50));

 comment on column "FXKH_TXL"."AB_INFO"."ADCD" is '行政区划';

alter table "FXKH_TXL"."ADDRESS_BOOK" add column("IS_PASS" TINYINT default (FALSE));

comment on column "FXKH_TXL"."ADDRESS_BOOK"."IS_PASS" is '是否放行, 放行:true,拦截:false';

