select config_id, config_name, config_key, config_value, config_type, create_by, create_time, update_by, update_time, remark from system_config
and config_id = #{configId}
and config_key = #{configKey}
AND config_type = #{configType}
AND config_name LIKE '%' || #{configName} || '%'
AND config_key LIKE '%' || #{configKey} || '%'
AND create_time >= #{params.beginTime}
AND create_time <= #{params.endTime}
AND config_name like concat('%', #{configName}, '%')
AND config_key like concat('%', #{configKey}, '%')
and date_format(create_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
and date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
where config_id = #{configId}
where config_key = #{configKey} limit 1
insert into system_config ( config_name, config_key, config_value, config_type, create_by, remark, create_time )values( #{configName}, #{configKey}, #{configValue}, #{configType}, #{createBy}, #{remark}, sysdate() )
update system_config config_name = #{configName}, config_key = #{configKey}, config_value = #{configValue}, config_type = #{configType}, update_by = #{updateBy}, remark = #{remark}, update_time = sysdate() where config_id = #{configId}
delete from system_config where config_id = #{configId}
delete from system_config where config_id in #{configId}