这是用户在 2025-7-28 11:25 为 https://b0mzss973k.feishu.cn/wiki/QTC9wa1Z6iwAplkXIVPcLUaVnmJ 保存的双语快照页面,由 沉浸式翻译 提供双语支持。了解如何保存?
输入“/”快速插入内容
添加图标
添加封面

业务合规风控V1.9-脚本及配置

陈新
赵聪聪
7月24日修改
SQL脚本
代码块
CREATE TABLE songguo_school.`cross_region_lively_config` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`campus_id` int(11) DEFAULT NULL COMMENT '经销商ID',
`active_ratio` decimal(11,2) DEFAULT NULL COMMENT '激活占比',
`protection_cnt` int(11) DEFAULT NULL COMMENT '保底额度',
`cfg_status` int(11) DEFAULT NULL COMMENT '配置状态:1有效、2无效',
`create_by` int(11) DEFAULT '0' COMMENT '创建人ID',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` int(11) DEFAULT '0' COMMENT '更新人ID',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 COMMENT='经销商-跨区域活跃配置';
CREATE TABLE songguo_school.`cross_region_lively_config_change_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`campus_id` int(11) DEFAULT NULL COMMENT '经销商ID',
`before_ratio` decimal(12,2) DEFAULT NULL COMMENT '变更前的激活占比',
`after_ratio` decimal(12,2) DEFAULT NULL COMMENT '变更后的激活占比',
`before_protection_cnt` int(11) DEFAULT NULL COMMENT '变更前的保底额度',
`after_protection_cnt` int(11) DEFAULT NULL COMMENT '变更后的保底额度',
`before_cfg_status` int(11) DEFAULT NULL COMMENT '变更前的激活状态',
`after_cfg_status` int(11) DEFAULT NULL COMMENT '变更后的激活状态',
`create_by` int(11) DEFAULT '0' COMMENT '创建人ID',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` int(11) DEFAULT '0' COMMENT '更新人ID',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 COMMENT='经销商-跨区域活跃配置-变更日志';
CREATE TABLE songguo_school.`risk_machine_record` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
`sn_code` varchar(50) DEFAULT '' COMMENT '设备SN码',
CSE配置
yaml
定时任务
评论(0)
跳转至首条评论
0 字