init commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user