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.
21 lines
649 B
21 lines
649 B
using System.Data;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace learun.workflow
|
|
{
|
|
/// <summary>
|
|
/// 定义一个委托方法
|
|
/// </summary>
|
|
/// <param name="dbId">数据库ID</param>
|
|
/// <param name="sql">sql语句</param>
|
|
/// <param name="parameter">参数</param>
|
|
public delegate Task<DataTable> DbFindTableMethod(string dbId, string sql, object parameter);
|
|
|
|
/// <summary>
|
|
/// 判断节点是否审核同意
|
|
/// </summary>
|
|
/// <param name="processId">流程实例主键</param>
|
|
/// <param name="nodeId">流程节点Id</param>
|
|
/// <returns></returns>
|
|
public delegate Task<int> GetConfluenceNumMethod(string processId, string nodeId);
|
|
}
|