Sfoglia il codice sorgente

api新逻辑提交

娄底高职分支
hwh2023 1 anno fa
parent
commit
8c15e61f17
18 ha cambiato i file con 108 aggiunte e 90 eliminazioni
  1. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseEduApi.cs
  2. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseInfoApi.cs
  3. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseLogisticApi.cs
  4. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseOtherApi.cs
  5. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchasePrintApi.cs
  6. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseServiceApi.cs
  7. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseStudentApi.cs
  8. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseTravelApi.cs
  9. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseWorkApi.cs
  10. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseEduApplyApi.cs
  11. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseInfoApplyApi.cs
  12. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseLogisticApplyApi.cs
  13. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseOtherApplyApi.cs
  14. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchasePrintApplyApi.cs
  15. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseServiceApplyApi.cs
  16. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseStudentApplyApi.cs
  17. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseTravelApplyApi.cs
  18. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseWorkApplyApi.cs

+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseEduApi.cs Vedi File

@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_EduEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseInfoApi.cs Vedi File

@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_InfoEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseLogisticApi.cs Vedi File

@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_LogisticEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseOtherApi.cs Vedi File

@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_OtherEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchasePrintApi.cs Vedi File

@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_PrintEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseServiceApi.cs Vedi File

@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_ServiceEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseStudentApi.cs Vedi File

@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_StudentEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseTravelApi.cs Vedi File

@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_TravelEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Purchase/PurchaseWorkApi.cs Vedi File

@@ -139,11 +139,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_WorkEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseEduApplyApi.cs Vedi File

@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_Edu_ApplyEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseInfoApplyApi.cs Vedi File

@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_Info_ApplyEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseLogisticApplyApi.cs Vedi File

@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_Logistic_ApplyEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseOtherApplyApi.cs Vedi File

@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_Other_ApplyEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchasePrintApplyApi.cs Vedi File

@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_Print_ApplyEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseServiceApplyApi.cs Vedi File

@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_Service_ApplyEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseStudentApplyApi.cs Vedi File

@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_Student_ApplyEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseTravelApplyApi.cs Vedi File

@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_Travel_ApplyEntity>();
//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


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PurchaseApply/PurchaseWorkApplyApi.cs Vedi File

@@ -128,11 +128,12 @@ namespace Learun.Application.WebApi
/// <returns></returns>
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<Purchase_Work_ApplyEntity>();
//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


Caricamento…
Annulla
Salva