select id, user_id, shopstall_id, dishes_id, revision, del_flag, create_by, create_time, update_by, update_time from menu_collection_dishes insert into menu_collection_dishes user_id, shopstall_id, dishes_id, revision, del_flag, create_by, create_time, update_by, update_time, #{userId}, #{shopstallId}, #{dishesId}, #{revision}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update menu_collection_dishes user_id = #{userId}, shopstall_id = #{shopstallId}, dishes_id = #{dishesId}, revision = #{revision}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} delete from menu_collection_dishes where id = #{id} delete from menu_collection_dishes where id in #{id}