insert into yt_risk_config
(
config_id,
field_name,
field_desc,
config_type,
config_val,
multy,
channel_id
)
values
(
#{configId},
#{fieldName},
#{fieldDesc},
#{configType},
#{configVal},
#{multy},
#{channelId}
)
insert into yt_risk_template_config
(
template_id,
config_id,
operator,
operator_time,
operator_name
)
values
(
#{templateId},
#{configId},
#{operator},
#{operatorTime},
#{operatorName}
);
insert into yt_risk_template
(
template_id,
template_name,
template_content,
template_code,
channel_id,
effect_node,
app_id,
all_satisfy,
create_time,
create_user_id,
enabled,
can_modify
)
values
(
#{templateId},
#{templateName},
#{templateContent},
#{templateCode},
#{channelId},
#{effectNode},
#{appId},
#{allSatisfy},
#{createTime},
#{createUserId},
#{enabled},
#{canModify}
);
insert into yt_cofig_app (template_id, app_id, app_name, operator, operator_name, operator_time)
values (#{templateId},#{appId},#{appName},#{userId},#{nickName},now());