using Furion.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RoadFlow.Data { public class FlowApiSystem:RoadFlowRepository,IFlowApiSystem, ITransient { /// /// 删除一批系统 /// /// 系统实体 /// public int Delete(Model.rf_flowapisystem[] flowApiSystems) { ClearCache(); List ids = new List(); foreach (var obj in flowApiSystems) ids.Add(obj.Id); return this.DeleteBy(x => ids.Contains(x.Id)); } } }