27 lines
778 B
C#
27 lines
778 B
C#
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<RoadFlow.Model.rf_flowapisystem>,IFlowApiSystem, ITransient
|
|
{
|
|
/// <summary>
|
|
/// 删除一批系统
|
|
/// </summary>
|
|
/// <param name="flowApiSystems">系统实体</param>
|
|
/// <returns></returns>
|
|
public int Delete(Model.rf_flowapisystem[] flowApiSystems)
|
|
{
|
|
ClearCache();
|
|
List<string> ids = new List<string>();
|
|
foreach (var obj in flowApiSystems)
|
|
ids.Add(obj.Id);
|
|
return this.DeleteBy(x => ids.Contains(x.Id));
|
|
}
|
|
}
|
|
}
|