You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fu-hsi-service/docker/docker-compose/sql/23250220/migration2.3.sql

20 lines
2.1 KiB
SQL

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

create table scoring_model_info
(
id varchar(64) not null comment '主键',
model_name varchar(128) null comment '模型名',
model_desc varchar(2048) null comment '模型说明',
scoring_rules varchar(2048) null comment '模型设置及赋分规则',
create_user_id varchar(64) null comment '创建人id',
create_time datetime null comment '创建时间',
update_user_id varchar(64) null comment '更新人',
update_time datetime null comment '更新时间'
)
comment '赋分模型信息表' collate = utf8mb4_bin;
-- 初始化数据
INSERT INTO scoring_model_info (id, model_name, model_desc, scoring_rules, create_user_id, create_time, update_user_id, update_time) VALUES ('1', '工程类合同诈骗案规则', '针对工程类合同诈骗案高发态势以及办理合同诈骗案存在的诸多问题和困难,宁夏总队在梳理近年来侦办的百余起合同诈骗案基础上,分析了有罪、无罪判决、绝对不起诉、存疑不起诉案件的取证情况、证据证明力、断案依据等,搭建了宁夏工程类合同诈骗案取证智能分析模型。', '模型采取赋分制的方法来综合判定案件证据充分与否分为三个模块第一模块是共性证据指标赋30分第二模块是有罪证据指标赋70分第三模块是无罪证据指标赋70分。采取“共性指标+入罪指标”或“共性指标+出罪指标”的计算方式评定综合得分。综合得分70分以上判定证据较充分司法机关对案件形成一致认定意见的概率较大综合得分50分至70分判定案件事实不清、证据不足司法机关认定意见不一致的概率较大综合得分50分以下判定证据不充分司法机关会作出绝对不起诉或存疑不起诉的决定。', null, current_timestamp(), null, null);
alter table model_index
modify case_type varchar(64) null comment '案件类型';
-- 修改菜单
UPDATE system_menu SET label = '赋分模型', label_code = 'p_scoringModele' WHERE id = '7';