select appId, name, description, prompt, top_p, temperature, knowledge_ids, slice_count,model,icon_color,icon_type, max_token, create_by, create_time, remark, knowledge_info from bm_application insert into bm_application( appId, name, description, prompt, top_p, temperature, knowledge_ids, slice_count, model, icon_color, icon_type, remark, create_by, knowledge_info, max_token, create_time )values( #{appId}, #{name}, #{desc}, #{prompt}, #{topP}, #{temperature}, #{knowledgeIds}, #{sliceCount}, #{model}, #{iconColor}, #{iconType}, #{remark}, #{createBy}, #{knowledgeInfo}, #{maxToken}, sysdate() ) update bm_application name = #{name}, description = #{desc}, prompt = #{prompt}, top_p = #{topP}, temperature = #{temperature}, knowledge_ids = #{knowledgeIds}, slice_count = #{sliceCount}, model = #{model}, icon_color = #{iconColor}, icon_type = #{iconType}, update_by = #{updateBy}, remark = #{remark}, knowledge_info = #{knowledgeInfo}, max_token = #{maxToken}, update_time = sysdate() where appId = #{appId} delete from bm_application where appId = #{appId}