select c.conf_id, c.type_cd, c.scene_tp_cd, c.content, c.STATUS, c.create_by, c.create_time, c.update_by, c.update_time,
(SELECT a.dict_label FROM sys_dict_data a WHERE a.dict_value = c.scene_tp_cd
AND a.dict_type = (SELECT d.child_dict_type FROM sys_dict_data d WHERE d.dict_type = 'sys_tp_cd' AND d.dict_value = c.type_cd)
) AS scene_tp_nm
FROM
sys_info_config c
insert into sys_info_config
type_cd,scene_tp_cd,content,status,create_by,create_time,update_by,update_time,#{typeCd},#{sceneTpCd},#{content},#{status},#{createBy},#{createTime},#{updateBy},#{updateTime},
update sys_info_config
type_cd = #{typeCd},scene_tp_cd = #{sceneTpCd},content = #{content},status = #{status},create_by = #{createBy},create_time = #{createTime},update_by = #{updateBy},update_time = #{updateTime},
where conf_id = #{confId}
delete from sys_info_config where conf_id = #{confId}
delete from sys_info_config where conf_id in
#{confId}