create table WB_DEPT
(
    DEPT_ID     VARCHAR2(36),
    DEPT_NAME   VARCHAR2(200),
    PARENT_DEPT VARCHAR2(36),
    ORDER_INDEX NUMBER(8),
    DEPT_TYPE   VARCHAR2(2),
    TENANCY_ID  VARCHAR2(30),
    IS_TENANCY  NUMBER,
    IS_WEB      NUMBER,
    GROUP_CODE  VARCHAR2(30)
)
/

INSERT INTO AG_DEV_ORACLE.WB_DEPT (DEPT_ID, DEPT_NAME, PARENT_DEPT, ORDER_INDEX, DEPT_TYPE, TENANCY_ID, IS_TENANCY, IS_WEB, GROUP_CODE) VALUES ('0040EAEUHJC2C', '管理部', '-1', 1, '1', null, null, null, '01');
INSERT INTO AG_DEV_ORACLE.WB_DEPT (DEPT_ID, DEPT_NAME, PARENT_DEPT, ORDER_INDEX, DEPT_TYPE, TENANCY_ID, IS_TENANCY, IS_WEB, GROUP_CODE) VALUES ('004CYCVCWQ5PD', '市场部', '-1', 5, null, null, null, null, '03');
INSERT INTO AG_DEV_ORACLE.WB_DEPT (DEPT_ID, DEPT_NAME, PARENT_DEPT, ORDER_INDEX, DEPT_TYPE, TENANCY_ID, IS_TENANCY, IS_WEB, GROUP_CODE) VALUES ('004CYCVCWQ5PK', '财务部', '-1', 6, null, null, null, null, '04');
INSERT INTO AG_DEV_ORACLE.WB_DEPT (DEPT_ID, DEPT_NAME, PARENT_DEPT, ORDER_INDEX, DEPT_TYPE, TENANCY_ID, IS_TENANCY, IS_WEB, GROUP_CODE) VALUES ('004CYCVCWQ5PR', '堆场部', '-1', 7, null, null, null, null, '05');
INSERT INTO AG_DEV_ORACLE.WB_DEPT (DEPT_ID, DEPT_NAME, PARENT_DEPT, ORDER_INDEX, DEPT_TYPE, TENANCY_ID, IS_TENANCY, IS_WEB, GROUP_CODE) VALUES ('004CYCVCWQ5Q5', '境外部', '-1', 9, null, null, null, null, '06');
INSERT INTO AG_DEV_ORACLE.WB_DEPT (DEPT_ID, DEPT_NAME, PARENT_DEPT, ORDER_INDEX, DEPT_TYPE, TENANCY_ID, IS_TENANCY, IS_WEB, GROUP_CODE) VALUES ('004IPCU4MJM2Q', '中山港', '0040EAEUHJC2C', 1, null, null, 0, 0, '0101');
INSERT INTO AG_DEV_ORACLE.WB_DEPT (DEPT_ID, DEPT_NAME, PARENT_DEPT, ORDER_INDEX, DEPT_TYPE, TENANCY_ID, IS_TENANCY, IS_WEB, GROUP_CODE) VALUES ('004IPCU4MJM32', '小榄港', '0040EAEUHJC2C', 2, null, null, 0, 0, '0102');
