You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
994 B
43 lines
994 B
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace RoadFlow.Data.Interface
|
|
{
|
|
public interface IWorkFlowData
|
|
{
|
|
/// <summary>
|
|
/// 新增
|
|
/// </summary>
|
|
int Add(RoadFlow.Data.Model.WorkFlowData model);
|
|
|
|
/// <summary>
|
|
/// 更新
|
|
/// </summary>
|
|
int Update(RoadFlow.Data.Model.WorkFlowData model);
|
|
|
|
/// <summary>
|
|
/// 查询所有记录
|
|
/// </summary>
|
|
List<RoadFlow.Data.Model.WorkFlowData> GetAll();
|
|
|
|
/// <summary>
|
|
/// 查询单条记录
|
|
/// </summary>
|
|
Model.WorkFlowData Get(Guid id);
|
|
|
|
/// <summary>
|
|
/// 删除
|
|
/// </summary>
|
|
int Delete(Guid id);
|
|
|
|
/// <summary>
|
|
/// 查询记录条数
|
|
/// </summary>
|
|
long GetCount();
|
|
|
|
/// <summary>
|
|
/// 查询一个实例ID所有记录
|
|
/// </summary>
|
|
List<RoadFlow.Data.Model.WorkFlowData> GetAll(Guid instanceID);
|
|
}
|
|
}
|
|
|