create table module_version
(
    ID                varchar(36)           not null
        primary key,
    NAME              varchar(20)           not null comment 'module名称',
    ENABLED           decimal(22) default 1 null comment '是否启用1=是0=否',
    VERSION           varchar(20)           not null comment '版本号, 热部署关键, 只要修改就会重新加载jar',
    JAR_PATH          varchar(500)          not null comment 'jar包绝对路径,逗号分隔',
    `DESC`            varchar(200)          null,
    SCAN_PACKAGE      varchar(200)          null comment '注解模式扫描的包路径,逗号分隔',
    OVERRIDE_PACKAGES varchar(200)          null comment '需要重新加载的包路径, 为空时使用scan_package包路径,逗号分隔'
)
    comment '热部署版本管理表';

INSERT INTO ag_devmysql.module_version (ID, NAME, ENABLED, VERSION, JAR_PATH, `DESC`, SCAN_PACKAGE, OVERRIDE_PACKAGES) VALUES ('0', 'demo', 1, '1.5', 'E:\\\\tomcat-honeytak\\\\dynamic\\\\AgDynamicModule.jar,E:\\\\tomcat-honeytak\\\\dynamic\\\\feeCalc.jar,', null, 'com.ag.honeytak,com.ag.account,', 'com.ag,');
INSERT INTO ag_devmysql.module_version (ID, NAME, ENABLED, VERSION, JAR_PATH, `DESC`, SCAN_PACKAGE, OVERRIDE_PACKAGES) VALUES ('test', 'test', 1, 'cfbaa30aa37a5a7d91', 'E:\\\\tomcat-honeytak\\\\dynamic\\\\AgDynamicModule.jar,E:\\\\tomcat-honeytak\\\\dynamic\\\\feeCalc.jar,', null, 'com.ag', 'com.ag,');
INSERT INTO ag_devmysql.module_version (ID, NAME, ENABLED, VERSION, JAR_PATH, `DESC`, SCAN_PACKAGE, OVERRIDE_PACKAGES) VALUES ('yxh', 'yxh', 1, '04ae3fd4e270488149', 'D:\\\\project\\\\AG_MYSQL_PLATFORM3.0\\\\IlogDynamicModule\\\\target\\\\IlogDynamicModule.jar,D:\\\\project\\\\AG_MYSQL_PLATFORM3.0\\\\feeCalc\\\\target\\\\feeCalc.jar,', null, 'com.ag', 'com.ag');
