From c55bb77b98ade784bc96d672cfbe25e7d93f979d Mon Sep 17 00:00:00 2001
From: zhoukeda <1315948824@qq.com>
Date: Tue, 25 Jul 2023 09:32:01 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=8D=95=E4=B8=AD=E6=96=AD?=
=?UTF-8?q?=E6=93=8D=E4=BD=9C=E7=8A=B6=E6=80=81=E7=94=B1=E5=85=B3=E9=97=AD?=
=?UTF-8?q?=E6=94=B9=E4=B8=BA=E6=9A=82=E5=81=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Tnb.ProductionMgr.Entities/Enums/PrdTaskBehavior.cs | 4 ++++
ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs | 1 +
2 files changed, 5 insertions(+)
diff --git a/ProductionMgr/Tnb.ProductionMgr.Entities/Enums/PrdTaskBehavior.cs b/ProductionMgr/Tnb.ProductionMgr.Entities/Enums/PrdTaskBehavior.cs
index 70d861ba..48c5a6c8 100644
--- a/ProductionMgr/Tnb.ProductionMgr.Entities/Enums/PrdTaskBehavior.cs
+++ b/ProductionMgr/Tnb.ProductionMgr.Entities/Enums/PrdTaskBehavior.cs
@@ -18,6 +18,10 @@
/// 任务完成
///
Compled = 8,
+ ///
+ /// 暂停
+ ///
+ Pause = 16,
}
}
diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs
index 8b8af35d..078689fc 100644
--- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs
+++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs
@@ -1008,6 +1008,7 @@ namespace Tnb.ProductionMgr
PrdTaskBehavior.Start => DictConst.InProgressEnCode,
PrdTaskBehavior.Closed => DictConst.ClosedEnCode,
PrdTaskBehavior.Compled => DictConst.ComplatedEnCode,
+ PrdTaskBehavior.Pause => DictConst.MoStatusPauseCode,
_ => throw new NotImplementedException(),
};
PrdTaskBehavior behavior = input.Behavior.ToEnum();