提交
This commit is contained in:
1 parent
a79aee2614
commit
427bcb1551
274 files changed
+59416
-38342
No files matched your search
+66
-1
@@ -241,6 +241,12 @@ CREATE TABLE `biz_cell_product_spec` (
|
||||
-- Records of biz_cell_product_spec
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `biz_cell_product_spec` (`id`, `spec_code`, `spec_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('cps000000000000000000000000000001', 'CPS-1.1E6-5ML', '1.1×10⁶/5ml', 'zkxw', 1, '低剂量规格', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_cell_product_spec` (`id`, `spec_code`, `spec_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('cps000000000000000000000000000002', 'CPS-2.2E6-10ML', '2.2×10⁶/10ml', 'zkxw', 2, '低剂量规格', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_cell_product_spec` (`id`, `spec_code`, `spec_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('cps000000000000000000000000000003', 'CPS-5.5E6-20ML', '5.5×10⁶/20ml', 'zkxw', 3, '标准规格', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_cell_product_spec` (`id`, `spec_code`, `spec_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('cps000000000000000000000000000004', 'CPS-1.0E7-50ML', '1.0×10⁷/50ml', 'zkxw', 4, '标准规格', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_cell_product_spec` (`id`, `spec_code`, `spec_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('cps000000000000000000000000000005', 'CPS-2.5E7-50ML', '2.5×10⁷/50ml', 'zkxw', 5, '高剂量规格', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_cell_product_spec` (`id`, `spec_code`, `spec_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('cps000000000000000000000000000006', 'CPS-5.5E7-100ML', '5.5×10⁷/100ml', 'zkxw', 6, '高剂量规格', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -277,6 +283,7 @@ CREATE TABLE `biz_cell_sample_type` (
|
||||
`id` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '主键ID',
|
||||
`type_code` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '样本类型编码',
|
||||
`type_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '样本类型名称',
|
||||
`type_logo` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '样本类型Logo URL',
|
||||
`storage_years` int(11) DEFAULT NULL COMMENT '样本存储年份',
|
||||
`storage_price` decimal(18,2) DEFAULT NULL COMMENT '样本存储价格(元)',
|
||||
`tenant_no` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'zkxw' COMMENT '租户编号',
|
||||
@@ -693,6 +700,7 @@ CREATE TABLE `biz_checkup_institution` (
|
||||
`institution_address` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '体检机构地址',
|
||||
`contact_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '联系人',
|
||||
`contact_phone` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '联系人电话',
|
||||
`institution_logo` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '体检机构Logo URL',
|
||||
`status` char(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1' COMMENT '1正常 0停用',
|
||||
`tenant_no` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'zkxw' COMMENT '租户编号',
|
||||
`order_num` int(11) DEFAULT NULL COMMENT '排序号',
|
||||
@@ -711,6 +719,8 @@ CREATE TABLE `biz_checkup_institution` (
|
||||
-- Records of biz_checkup_institution
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `biz_checkup_institution` (`id`, `institution_name`, `institution_address`, `contact_name`, `contact_phone`, `institution_logo`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('cki000000000000000000000000000001', '安徽省立医院健康管理中心', '合肥市庐阳区六安路9号', '王主任', '0551-6228340', NULL, '1', 'zkxw', 1, '测试数据-省立医院体检中心', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution` (`id`, `institution_name`, `institution_address`, `contact_name`, `contact_phone`, `institution_logo`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('cki000000000000000000000000000002', '合肥美年大健康体检中心', '合肥市蜀山区潜山路188号', '刘经理', '0551-65588000', NULL, '1', 'zkxw', 2, '测试数据-美年大健康', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -743,6 +753,8 @@ CREATE TABLE `biz_checkup_institution_invoice` (
|
||||
-- Records of biz_checkup_institution_invoice
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `biz_checkup_institution_invoice` (`id`, `checkup_institution_id`, `company_name`, `tax_no`, `company_address`, `company_phone`, `bank_name`, `bank_account`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckinv000000000000000000000000000001', 'cki000000000000000000000000000001', '安徽省立医院', '12340000000000001X', '合肥市庐阳区六安路9号', '0551-6228340', '中国建设银行合肥庐阳支行', '34000000000000000001', 'zkxw', 1, '测试开票信息-省立医院', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_invoice` (`id`, `checkup_institution_id`, `company_name`, `tax_no`, `company_address`, `company_phone`, `bank_name`, `bank_account`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckinv000000000000000000000000000002', 'cki000000000000000000000000000002', '合肥美年大健康产业控股集团有限公司', '91340100000000002Y', '合肥市蜀山区潜山路188号', '0551-65588000', '招商银行合肥分行营业部', '55100000000000000002', 'zkxw', 1, '测试开票信息-美年大健康', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -833,6 +845,26 @@ CREATE TABLE `biz_checkup_institution_project` (
|
||||
-- Records of biz_checkup_institution_project
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000001', 'cki000000000000000000000000000001', '一般健康体检', 580.00, '1', 'zkxw', 1, '含内科、外科、眼科、耳鼻喉科', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000002', 'cki000000000000000000000000000001', '血常规', 45.00, '1', 'zkxw', 2, '全血细胞分析', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000003', 'cki000000000000000000000000000001', '肝功能全套', 120.00, '1', 'zkxw', 3, 'ALT/AST/总胆红素等', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000004', 'cki000000000000000000000000000001', '肾功能全套', 98.00, '1', 'zkxw', 4, '尿素氮/肌酐/尿酸', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000005', 'cki000000000000000000000000000001', '空腹血糖', 25.00, '1', 'zkxw', 5, '需空腹8小时以上', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000006', 'cki000000000000000000000000000001', '血脂四项', 68.00, '1', 'zkxw', 6, '总胆固醇/甘油三酯/HDL/LDL', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000007', 'cki000000000000000000000000000001', '心电图', 35.00, '1', 'zkxw', 7, '十二导联常规心电图', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000008', 'cki000000000000000000000000000001', '胸部DR', 80.00, '1', 'zkxw', 8, '数字化X线摄影', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000009', 'cki000000000000000000000000000001', '腹部B超', 120.00, '1', 'zkxw', 9, '肝、胆、脾、胰、双肾', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000010', 'cki000000000000000000000000000001', '肿瘤标志物筛查', 380.00, '1', 'zkxw', 10, 'CEA/AFP/CA199等组合', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000011', 'cki000000000000000000000000000002', '入职体检套餐A', 298.00, '1', 'zkxw', 1, '适用于一般岗位入职', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000012', 'cki000000000000000000000000000002', '高管健康体检', 1680.00, '1', 'zkxw', 2, '深度体检含专项评估', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000013', 'cki000000000000000000000000000002', '幽门螺旋杆菌检测', 85.00, '1', 'zkxw', 3, 'C13呼气试验', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000014', 'cki000000000000000000000000000002', '甲状腺彩超', 90.00, '1', 'zkxw', 4, '甲状腺形态及血流', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000015', 'cki000000000000000000000000000002', '颈动脉彩超', 160.00, '1', 'zkxw', 5, '评估动脉粥样硬化风险', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000016', 'cki000000000000000000000000000002', '骨密度检测', 120.00, '1', 'zkxw', 6, '双能X线骨密度', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000017', 'cki000000000000000000000000000002', '动态血压监测', 200.00, '1', 'zkxw', 7, '24小时动态血压', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000018', 'cki000000000000000000000000000002', '眼底照相', 75.00, '1', 'zkxw', 8, '免散瞳眼底检查', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000019', 'cki000000000000000000000000000002', '肺功能检测', 150.00, '1', 'zkxw', 9, '肺通气功能检查', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_checkup_institution_project` (`id`, `checkup_institution_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ckp000000000000000000000000000020', 'cki000000000000000000000000000002', '细胞储存前专项体检', 880.00, '1', 'zkxw', 10, '细胞存储业务前置体检组合', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -846,6 +878,7 @@ CREATE TABLE `biz_clean_room` (
|
||||
`room_grade` varchar(8) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '等级 A/B/C/D',
|
||||
`room_status` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'zc' COMMENT 'zc正常 yc异常',
|
||||
`area_sqm` decimal(12,2) DEFAULT NULL COMMENT '面积m²',
|
||||
`room_image` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '洁净室图片URL',
|
||||
`tenant_no` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'zkxw' COMMENT '租户编号',
|
||||
`order_num` int(11) DEFAULT NULL COMMENT '排序号',
|
||||
`remark` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '备注',
|
||||
@@ -1479,6 +1512,7 @@ CREATE TABLE `biz_express_company` (
|
||||
`id` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '主键ID',
|
||||
`express_code` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '快递公司编码',
|
||||
`express_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '快递公司名称',
|
||||
`express_logo` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '快递公司Logo URL',
|
||||
`tenant_no` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'zkxw' COMMENT '租户编号',
|
||||
`order_num` int(11) DEFAULT NULL COMMENT '排序号',
|
||||
`remark` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '备注',
|
||||
@@ -1517,6 +1551,7 @@ CREATE TABLE `biz_insurance_company` (
|
||||
`company_address` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '公司地址',
|
||||
`contact_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '联系人',
|
||||
`contact_phone` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '联系电话',
|
||||
`company_logo` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '保险公司Logo URL',
|
||||
`status` char(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1' COMMENT '1正常 0停用',
|
||||
`tenant_no` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'zkxw' COMMENT '租户编号',
|
||||
`order_num` int(11) DEFAULT NULL COMMENT '排序号',
|
||||
@@ -1535,6 +1570,8 @@ CREATE TABLE `biz_insurance_company` (
|
||||
-- Records of biz_insurance_company
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `biz_insurance_company` (`id`, `company_name`, `company_address`, `contact_name`, `contact_phone`, `company_logo`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('inc000000000000000000000000000001', '中国人民财产保险股份有限公司', '北京市西城区西长安街88号', '张经理', '010-95518', NULL, '1', 'zkxw', 1, '测试数据-人保财险', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_company` (`id`, `company_name`, `company_address`, `contact_name`, `contact_phone`, `company_logo`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('inc000000000000000000000000000002', '中国平安财产保险股份有限公司', '深圳市福田区益田路5033号平安金融中心', '李经理', '95511', NULL, '1', 'zkxw', 2, '测试数据-平安财险', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -1567,6 +1604,8 @@ CREATE TABLE `biz_insurance_company_invoice` (
|
||||
-- Records of biz_insurance_company_invoice
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `biz_insurance_company_invoice` (`id`, `insurance_company_id`, `company_name`, `tax_no`, `company_address`, `company_phone`, `bank_name`, `bank_account`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('inv000000000000000000000000000001', 'inc000000000000000000000000000001', '中国人民财产保险股份有限公司', '91110000100000000X', '北京市西城区西长安街88号', '010-95518', '中国工商银行北京分行营业部', '02000000000000000001', 'zkxw', 1, '测试开票信息-人保', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_company_invoice` (`id`, `insurance_company_id`, `company_name`, `tax_no`, `company_address`, `company_phone`, `bank_name`, `bank_account`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('inv000000000000000000000000000002', 'inc000000000000000000000000000002', '中国平安财产保险股份有限公司', '91440300100000000Y', '深圳市福田区益田路5033号平安金融中心', '95511', '招商银行深圳分行营业部', '75500000000000000002', 'zkxw', 1, '测试开票信息-平安', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -1596,6 +1635,26 @@ CREATE TABLE `biz_insurance_project_price` (
|
||||
-- Records of biz_insurance_project_price
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000001', 'inc000000000000000000000000000001', '细胞存储责任险', 1280.00, '1', 'zkxw', 1, '年度保费,覆盖样本存储期间', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000002', 'inc000000000000000000000000000001', '样本运输险', 680.00, '1', 'zkxw', 2, '覆盖样本冷链运输过程', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000003', 'inc000000000000000000000000000001', '实验室财产险', 3500.00, '1', 'zkxw', 3, '覆盖实验室设备与设施', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000004', 'inc000000000000000000000000000001', '公众责任险', 980.00, '1', 'zkxw', 4, '覆盖第三方人身及财产损失', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000005', 'inc000000000000000000000000000001', '产品责任险', 1680.00, '1', 'zkxw', 5, '覆盖细胞产品相关责任', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000006', 'inc000000000000000000000000000001', '雇主责任险', 2200.00, '1', 'zkxw', 6, '覆盖员工工伤及职业病', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000007', 'inc000000000000000000000000000001', '安全生产责任险', 1560.00, '1', 'zkxw', 7, '覆盖生产作业安全事故', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000008', 'inc000000000000000000000000000001', '医疗责任险', 3200.00, '1', 'zkxw', 8, '覆盖医疗服务相关责任', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000009', 'inc000000000000000000000000000001', '生物材料污染险', 890.00, '1', 'zkxw', 9, '覆盖生物样本污染损失', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000010', 'inc000000000000000000000000000001', '冷链中断险', 720.00, '1', 'zkxw', 10, '覆盖冷链设备故障导致损失', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000011', 'inc000000000000000000000000000002', '临床试验责任险', 2560.00, '1', 'zkxw', 1, '年度保费,覆盖临床试验期间', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000012', 'inc000000000000000000000000000002', '细胞治疗责任险', 3800.00, '1', 'zkxw', 2, '覆盖细胞治疗相关责任', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000013', 'inc000000000000000000000000000002', '研究者保险', 1200.00, '1', 'zkxw', 3, '覆盖主要研究者及团队', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000014', 'inc000000000000000000000000000002', '受试者保险', 980.00, '1', 'zkxw', 4, '覆盖临床试验受试者', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000015', 'inc000000000000000000000000000002', '试验器械险', 1450.00, '1', 'zkxw', 5, '覆盖试验用器械损坏', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000016', 'inc000000000000000000000000000002', '伦理审查责任险', 760.00, '1', 'zkxw', 6, '覆盖伦理审查相关责任', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000017', 'inc000000000000000000000000000002', '数据泄露责任险', 1100.00, '1', 'zkxw', 7, '覆盖试验数据泄露风险', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000018', 'inc000000000000000000000000000002', '跨境转运险', 1890.00, '1', 'zkxw', 8, '覆盖跨境样本转运', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000019', 'inc000000000000000000000000000002', '制剂稳定性险', 1350.00, '1', 'zkxw', 9, '覆盖制剂稳定性试验期间', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
INSERT INTO `biz_insurance_project_price` (`id`, `insurance_company_id`, `project_name`, `project_fee`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ipp000000000000000000000000000020', 'inc000000000000000000000000000002', '不良事件保障险', 2100.00, '1', 'zkxw', 10, '覆盖试验不良事件处理', 'd3000000000000000000000000000001', '', '2026-06-14 08:00:00', 'd3000000000000000000000000000001', '2026-06-14 08:00:00', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -4276,6 +4335,8 @@ DROP TABLE IF EXISTS `biz_qc_material_stock_check_unused_line`;
|
||||
CREATE TABLE `biz_qc_material_stock_check_unused_line` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID',
|
||||
`check_id` varchar(64) NOT NULL COMMENT '盘点单ID',
|
||||
`usage_id` varchar(64) DEFAULT NULL COMMENT '关联领用记录ID(biz_qc_material_usage.id)',
|
||||
`batch_id` varchar(64) DEFAULT NULL COMMENT '关联入库批次ID(手工登记批次检索)',
|
||||
`material_code` varchar(64) DEFAULT NULL COMMENT '物料编码',
|
||||
`material_name` varchar(200) NOT NULL COMMENT '物料名称',
|
||||
`spec_model` varchar(200) DEFAULT NULL COMMENT '规格型号',
|
||||
@@ -4299,7 +4360,8 @@ CREATE TABLE `biz_qc_material_stock_check_unused_line` (
|
||||
`update_time` datetime NOT NULL COMMENT '更新时间',
|
||||
`del_flag` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除标记',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_qc_check_unused_line_check` (`check_id`,`del_flag`)
|
||||
KEY `idx_qc_check_unused_line_check` (`check_id`,`del_flag`),
|
||||
KEY `idx_qc_check_unused_line_usage` (`usage_id`,`del_flag`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='质检物料盘点-领用未用完登记行';
|
||||
|
||||
-- ----------------------------
|
||||
@@ -4334,6 +4396,7 @@ CREATE TABLE `biz_qc_material_usage` (
|
||||
`parent_usage_id` varchar(64) DEFAULT NULL COMMENT '关联领用记录ID(task_complete指向manual_out)',
|
||||
`receiver` varchar(64) DEFAULT NULL COMMENT '领用人(手动出库)',
|
||||
`purpose` varchar(512) DEFAULT NULL COMMENT '用途/事由(手动出库)',
|
||||
`requisition_status` varchar(16) NOT NULL DEFAULT 'open' COMMENT '领用状态:open-待登记/有剩余 closed-已使用完',
|
||||
`source_type` varchar(32) NOT NULL COMMENT '来源:task_complete / manual_in / manual_out / outbound_handover 等',
|
||||
`tenant_no` varchar(64) NOT NULL DEFAULT 'zkxw' COMMENT '租户编号',
|
||||
`remark` varchar(512) DEFAULT NULL COMMENT '备注',
|
||||
@@ -4502,6 +4565,7 @@ CREATE TABLE `biz_qc_third_party_company` (
|
||||
`company_name` varchar(200) NOT NULL COMMENT '公司名称',
|
||||
`contact_name` varchar(100) DEFAULT NULL COMMENT '联系人',
|
||||
`contact_phone` varchar(32) DEFAULT NULL COMMENT '联系电话',
|
||||
`company_logo` varchar(512) DEFAULT NULL COMMENT '公司Logo URL',
|
||||
`address` varchar(500) DEFAULT NULL COMMENT '地址',
|
||||
`invoice_title` varchar(200) DEFAULT NULL COMMENT '发票抬头',
|
||||
`tax_id` varchar(64) DEFAULT NULL COMMENT '纳税人识别号',
|
||||
@@ -6419,6 +6483,7 @@ CREATE TABLE `sys_site` (
|
||||
`contact_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '联系人',
|
||||
`contact_phone` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '联系电话',
|
||||
`business_scope` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '业务范围(字典 zdywfw,多值可逗号分隔)',
|
||||
`site_image` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '站点图片URL',
|
||||
`tenant_no` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'zkxw' COMMENT '租户编号',
|
||||
`order_num` int(11) DEFAULT NULL COMMENT '排序号',
|
||||
`remark` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '备注',
|
||||
|
||||
Reference in new issue
Block a user