mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-04-14 09:38:03 +08:00
增加撤销与启动,详见:#I3ILBG
调整工程结构,采用模块化机制
This commit is contained in:
30
Infrastructure/Const/FlowInstanceStatus.cs
Normal file
30
Infrastructure/Const/FlowInstanceStatus.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
namespace Infrastructure.Const
|
||||
{
|
||||
/// <summary>
|
||||
/// 流程状态
|
||||
/// </summary>
|
||||
public struct FlowInstanceStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// 撤销、召回
|
||||
/// </summary>
|
||||
public const int Draft = -1;
|
||||
/// <summary>
|
||||
/// 正在运行
|
||||
/// </summary>
|
||||
public const int Running = 0;
|
||||
/// <summary>
|
||||
/// 完成
|
||||
/// </summary>
|
||||
public const int Finished = 1;
|
||||
/// <summary>
|
||||
/// 不同意
|
||||
/// </summary>
|
||||
public const int Disagree = 3;
|
||||
/// <summary>
|
||||
/// 驳回
|
||||
/// </summary>
|
||||
public const int Rejected = 4;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -381,6 +381,7 @@ namespace Infrastructure.Helpers
|
||||
/// <param name="addStr">追加内容</param>
|
||||
public static void RegxAddContentByParenthesis(string path, string addStr)
|
||||
{
|
||||
path = StringExtension.ReplacePath(path);
|
||||
FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read);
|
||||
StreamReader sr = new StreamReader(fs);
|
||||
string originStr = sr.ReadToEnd();
|
||||
|
||||
Reference in New Issue
Block a user