init commit

This commit is contained in:
路 范
2022-03-30 17:54:33 +08:00
parent df01841625
commit 904bdd16cd
500 changed files with 217251 additions and 0 deletions

View File

@@ -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));
}
}
}