create table c_base_category
(
    ID          varchar(36) not null
        primary key,
    TENANCY_ID  varchar(36) null,
    DESCRIPTION varchar(60) null comment '费类',
    NOTES       text        null comment '描述',
    CREATED_BY  varchar(36) null,
    CREATED_ON  datetime    null,
    UPDATED_BY  varchar(36) null,
    UPDATED_ON  datetime    null,
    IS_ALL      decimal(1)  null comment '是否包干（0=不包干1=包干）',
    BIZ_SCOPE   text        null comment '业务范围',
    EFFECTIVED  decimal(1)  null comment '"规则状态 
0 草稿1 已生效2 已迁出 3 已禁用 4 历史版本"',
    ENABLED     decimal(1)  null comment '是否有效(0失效，1有效)',
    BYAGENT     decimal(1)  null comment '付费方(0=货主1=船公司)'
)
    comment '费类表';

INSERT INTO ag_devmysql.c_base_category (ID, TENANCY_ID, DESCRIPTION, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON, IS_ALL, BIZ_SCOPE, EFFECTIVED, ENABLED, BYAGENT) VALUES ('1264dde8bc4c4b1ebe9157e219b74e64', 'default', '超期费', '在做合同的时候注意，必须先选择超期费，再选择平衡费，否则无法计费', 'admin', '2020-05-29 14:57:38', 'admin', '2022-03-11 11:19:13', null, null, null, 1, null);
INSERT INTO ag_devmysql.c_base_category (ID, TENANCY_ID, DESCRIPTION, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON, IS_ALL, BIZ_SCOPE, EFFECTIVED, ENABLED, BYAGENT) VALUES ('33eb16e75a6e4574b9607f0f3f166232', 'default', '提箱费', null, 'admin', '2020-05-28 10:25:22', 'admin', '2020-05-28 10:25:22', null, null, null, 1, null);
INSERT INTO ag_devmysql.c_base_category (ID, TENANCY_ID, DESCRIPTION, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON, IS_ALL, BIZ_SCOPE, EFFECTIVED, ENABLED, BYAGENT) VALUES ('4ecc11f7edab4b3782302801d6d1aae2', 'QHD', 'QHD费类', null, 'feeadmin', '2022-05-13 16:22:11', 'feeadmin', '2022-05-13 16:22:11', null, null, null, 1, null);
INSERT INTO ag_devmysql.c_base_category (ID, TENANCY_ID, DESCRIPTION, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON, IS_ALL, BIZ_SCOPE, EFFECTIVED, ENABLED, BYAGENT) VALUES ('544af4389f5e4ecba6b5812dcc403762', 'default', '验箱费', '租购箱时验箱的费用', 'admin', '2020-07-20 14:25:49', 'admin', '2020-07-20 14:25:49', null, null, null, 1, null);
INSERT INTO ag_devmysql.c_base_category (ID, TENANCY_ID, DESCRIPTION, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON, IS_ALL, BIZ_SCOPE, EFFECTIVED, ENABLED, BYAGENT) VALUES ('5d29a60a84194c3dba6dd9cacb32dd4c', 'default', '调箱费', null, 'admin', '2020-06-24 15:17:50', 'admin', '2021-06-08 17:08:38', null, null, null, 1, null);
INSERT INTO ag_devmysql.c_base_category (ID, TENANCY_ID, DESCRIPTION, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON, IS_ALL, BIZ_SCOPE, EFFECTIVED, ENABLED, BYAGENT) VALUES ('61c1076e40a8409f9a0e22a1fafa0694', 'default', '修箱费', null, 'admin', '2020-06-19 14:12:04', 'admin', '2020-06-19 14:12:04', null, null, null, 1, null);
INSERT INTO ag_devmysql.c_base_category (ID, TENANCY_ID, DESCRIPTION, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON, IS_ALL, BIZ_SCOPE, EFFECTIVED, ENABLED, BYAGENT) VALUES ('72b4aa656e494c0db9deee9c58005479', 'default', '购箱费', '买箱的时候的成本', 'admin', '2020-06-10 09:30:38', 'admin', '2020-06-10 09:30:38', null, null, null, 1, null);
INSERT INTO ag_devmysql.c_base_category (ID, TENANCY_ID, DESCRIPTION, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON, IS_ALL, BIZ_SCOPE, EFFECTIVED, ENABLED, BYAGENT) VALUES ('955597fb68aa4bbf8c0f0746bd3a687a', 'default', '售箱费', null, 'admin', '2020-06-15 17:04:15', 'admin', '2021-06-08 17:10:08', null, null, null, 1, null);
INSERT INTO ag_devmysql.c_base_category (ID, TENANCY_ID, DESCRIPTION, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON, IS_ALL, BIZ_SCOPE, EFFECTIVED, ENABLED, BYAGENT) VALUES ('a5808e781ba24603b427edc324515821', 'default', '租入箱费', null, 'admin', '2020-06-16 10:42:59', 'admin', '2020-06-16 10:45:11', null, null, null, 1, null);
INSERT INTO ag_devmysql.c_base_category (ID, TENANCY_ID, DESCRIPTION, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON, IS_ALL, BIZ_SCOPE, EFFECTIVED, ENABLED, BYAGENT) VALUES ('ab33391e20ec43a7b4c9e90a84ba93a1', 'default', '堆存费', null, 'admin', '2020-07-26 13:21:45', 'admin', '2021-06-08 17:10:23', null, null, null, 1, null);
INSERT INTO ag_devmysql.c_base_category (ID, TENANCY_ID, DESCRIPTION, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON, IS_ALL, BIZ_SCOPE, EFFECTIVED, ENABLED, BYAGENT) VALUES ('c397ac732d5b432db877ed8645780582', 'default', '港杂费', null, 'admin', '2021-08-12 09:39:01', 'admin', '2021-08-12 09:39:40', null, null, null, 1, null);
