diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseEduApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseEduApi.cs
index a9911a4fb..83473f0ff 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseEduApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseEduApi.cs
@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- purchaseeduIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("2-7", processId, "", 1, "", userInfo);
+ Purchase_EduEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ purchaseeduIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("2-7", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseInfoApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseInfoApi.cs
index 7af427786..72473c8ed 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseInfoApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseInfoApi.cs
@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseInfoIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("2-4", processId, "", 1, "", userInfo);
+ Purchase_InfoEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseInfoIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("2-4", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseLogisticApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseLogisticApi.cs
index 8d543659a..6bd048a40 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseLogisticApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseLogisticApi.cs
@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseLogisticIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("2-2", processId, "", 1, "", userInfo);
+ Purchase_LogisticEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseLogisticIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("2-2", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseOtherApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseOtherApi.cs
index 9ec7b9aee..384687672 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseOtherApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseOtherApi.cs
@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseOtherIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("2-6", processId, "", 1, "", userInfo);
+ Purchase_OtherEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseOtherIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("2-6", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchasePrintApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchasePrintApi.cs
index e4de47f13..479af36aa 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchasePrintApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchasePrintApi.cs
@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseprintIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("2-3", processId, "", 1, "", userInfo);
+ Purchase_PrintEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseprintIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("2-3", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseServiceApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseServiceApi.cs
index cb409de22..7a98d577b 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseServiceApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseServiceApi.cs
@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseServiceIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("1-14", processId, "", 1, "", userInfo);
+ Purchase_ServiceEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseServiceIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("1-14", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseStudentApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseStudentApi.cs
index 2fb732358..e095c3220 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseStudentApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseStudentApi.cs
@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseStudentIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("2-5", processId, "", 1, "", userInfo);
+ Purchase_StudentEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseStudentIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("2-5", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseTravelApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseTravelApi.cs
index 336dc6568..8b0faa9b1 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseTravelApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseTravelApi.cs
@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseTravelIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("0.1", processId, "", 1, "", userInfo);
+ Purchase_TravelEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseTravelIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("0.1", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseWorkApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseWorkApi.cs
index 6927b8d59..441f768d9 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseWorkApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseWorkApi.cs
@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- purchaseworkIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("2-1", processId, "", 1, "", userInfo);
+ Purchase_WorkEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ purchaseworkIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("2-1", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseEduApplyApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseEduApplyApi.cs
index f865a52d4..dbca48b1a 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseEduApplyApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseEduApplyApi.cs
@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- purchaseeduIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("1-1", processId, "", 1, "", userInfo);
+ Purchase_Edu_ApplyEntity parameter= this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ purchaseeduIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("1-1", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseInfoApplyApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseInfoApplyApi.cs
index b20699804..34e95c8fa 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseInfoApplyApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseInfoApplyApi.cs
@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- purchaseinfoIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("1-4", processId, "", 1, "", userInfo);
+ Purchase_Info_ApplyEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ purchaseinfoIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("1-4", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseLogisticApplyApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseLogisticApplyApi.cs
index ae2337245..9263f6638 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseLogisticApplyApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseLogisticApplyApi.cs
@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- purchaselogisticIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("1-3", processId, "", 1, "", userInfo);
+ Purchase_Logistic_ApplyEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ purchaselogisticIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("1-3", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseOtherApplyApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseOtherApplyApi.cs
index 0ddfcf541..1c019d2cb 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseOtherApplyApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseOtherApplyApi.cs
@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseOtherIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("1-2", processId, "", 1, "", userInfo);
+ Purchase_Other_ApplyEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseOtherIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("1-2", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchasePrintApplyApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchasePrintApplyApi.cs
index 1863c5c58..70f8a0710 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchasePrintApplyApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchasePrintApplyApi.cs
@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- purchaseprintIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("1-6", processId, "", 1, "", userInfo);
+ Purchase_Print_ApplyEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ purchaseprintIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("1-6", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseServiceApplyApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseServiceApplyApi.cs
index de10c4b76..2d570b615 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseServiceApplyApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseServiceApplyApi.cs
@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseServiceIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("1-13", processId, "", 1, "", userInfo);
+ Purchase_Service_ApplyEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseServiceIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("1-13", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseStudentApplyApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseStudentApplyApi.cs
index 2a7650939..d78aef63b 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseStudentApplyApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseStudentApplyApi.cs
@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseStudentIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("1-8", processId, "", 1, "", userInfo);
+ Purchase_Student_ApplyEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseStudentIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("1-8", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseTravelApplyApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseTravelApplyApi.cs
index 07d963768..b47f3d9df 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseTravelApplyApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseTravelApplyApi.cs
@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseTravelIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("1-5", processId, "", 1, "", userInfo);
+ Purchase_Travel_ApplyEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseTravelIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("1-5", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseWorkApplyApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseWorkApplyApi.cs
index 99d190511..4b66d44fa 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseWorkApplyApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseWorkApplyApi.cs
@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
///
public Response Submit(dynamic _)
{
- string keyValue = this.GetReqData();
- var processId = Guid.NewGuid().ToString();
- PurchaseWorkIBLL.ModifyStatus(keyValue, 1, processId);
- UserInfo userInfo = LoginUserInfo.Get();
- nWFProcessIBLL.CreateFlow("1-7", processId, "", 1, "", userInfo);
+ Purchase_Work_ApplyEntity parameter = this.GetReqData();
+ //string keyValue = this.GetReqData();
+ //var processId = Guid.NewGuid().ToString();
+ PurchaseWorkIBLL.ModifyStatus(parameter.Id, 1, parameter.ProcessId);
+ //UserInfo userInfo = LoginUserInfo.Get();
+ //nWFProcessIBLL.CreateFlow("1-7", processId, "", 1, "", userInfo);
return Success("提交成功!");
}
#endregion