From bbbc0ea9730aa1c7f907779b5c57dd93a573ace5 Mon Sep 17 00:00:00 2001 From: hwh2023 <598694955@qq.com> Date: Tue, 1 Aug 2023 15:04:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A0=B9=E6=8D=AEprocessid?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E8=AF=A6=E6=83=85=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/Purchase/PurchaseEduApi.cs | 36 +++++++++---------- .../Modules/Purchase/PurchaseInfoApi.cs | 36 +++++++++---------- .../Modules/Purchase/PurchaseLogisticApi.cs | 36 +++++++++---------- .../Modules/Purchase/PurchaseOtherApi.cs | 36 +++++++++---------- .../Modules/Purchase/PurchasePrintApi.cs | 36 +++++++++---------- .../Modules/Purchase/PurchaseServiceApi.cs | 36 +++++++++---------- .../Modules/Purchase/PurchaseStudentApi.cs | 36 +++++++++---------- .../Modules/Purchase/PurchaseTravelApi.cs | 36 +++++++++---------- .../Modules/Purchase/PurchaseWorkApi.cs | 36 +++++++++---------- .../PurchaseApply/PurchaseEduApplyApi.cs | 36 +++++++++---------- .../PurchaseApply/PurchaseInfoApplyApi.cs | 36 +++++++++---------- .../PurchaseApply/PurchaseLogisticApplyApi.cs | 36 +++++++++---------- .../PurchaseApply/PurchaseOtherApplyApi.cs | 36 +++++++++---------- .../PurchaseApply/PurchasePrintApplyApi.cs | 36 +++++++++---------- .../PurchaseApply/PurchaseServiceApplyApi.cs | 36 +++++++++---------- .../PurchaseApply/PurchaseStudentApplyApi.cs | 36 +++++++++---------- .../PurchaseApply/PurchaseTravelApplyApi.cs | 36 +++++++++---------- .../PurchaseApply/PurchaseWorkApplyApi.cs | 36 +++++++++---------- 18 files changed, 324 insertions(+), 324 deletions(-) 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 c672dacb9..a9911a4fb 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 @@ -32,7 +32,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -85,23 +85,23 @@ namespace Learun.Application.WebApi return Success(Purchase_Edu_DetailsData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_EduEntity parameter = this.GetReqData(); + var Purchase_EduData = purchaseeduIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Edu_DetailsData = purchaseeduIBLL.GetPurchase_Edu_DetailsList(Purchase_EduData.Id); + var jsonData = new + { + Purchase_Edu = Purchase_EduData, + Purchase_Edu_Details = Purchase_Edu_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 86559f5be..7af427786 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 @@ -32,7 +32,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -85,23 +85,23 @@ namespace Learun.Application.WebApi return Success(Purchase_Info_DetailsData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_InfoEntity parameter = this.GetReqData(); + var Purchase_InfoData = PurchaseInfoIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Info_DetailsData = PurchaseInfoIBLL.GetPurchase_Info_DetailsList(Purchase_InfoData.Id); + var jsonData = new + { + Purchase_Info = Purchase_InfoData, + Purchase_Info_Details = Purchase_Info_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 501c0c30b..8d543659a 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 @@ -32,7 +32,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -85,23 +85,23 @@ namespace Learun.Application.WebApi return Success(Purchase_Logistic_DetailsData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_LogisticEntity parameter = this.GetReqData(); + var Purchase_LogisticData = PurchaseLogisticIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Logistic_DetailsData = PurchaseLogisticIBLL.GetPurchase_Logistic_DetailsList(Purchase_LogisticData.Id); + var jsonData = new + { + Purchase_Logistic = Purchase_LogisticData, + Purchase_Logistic_Details = Purchase_Logistic_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 9658ccdd3..9ec7b9aee 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 @@ -32,7 +32,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -85,23 +85,23 @@ namespace Learun.Application.WebApi return Success(Purchase_Other_DetailsData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_OtherEntity parameter = this.GetReqData(); + var Purchase_OtherData = PurchaseOtherIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Other_DetailsData = PurchaseOtherIBLL.GetPurchase_Other_DetailsList(Purchase_OtherData.Id); + var jsonData = new + { + Purchase_Other = Purchase_OtherData, + Purchase_Other_Details = Purchase_Other_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 f635e6a34..e4de47f13 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 @@ -32,7 +32,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -85,23 +85,23 @@ namespace Learun.Application.WebApi return Success(Purchase_Print_DetailsData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_PrintEntity parameter = this.GetReqData(); + var Purchase_PrintData = PurchaseprintIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Print_DetailsData = PurchaseprintIBLL.GetPurchase_Print_DetailsList(Purchase_PrintData.Id); + var jsonData = new + { + Purchase_Print = Purchase_PrintData, + Purchase_Print_Details = Purchase_Print_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 2ce94bddc..cb409de22 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 @@ -32,7 +32,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -85,23 +85,23 @@ namespace Learun.Application.WebApi return Success(Purchase_Service_DetailsData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_ServiceEntity parameter = this.GetReqData(); + var Purchase_ServiceData = PurchaseServiceIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Service_DetailsData = PurchaseServiceIBLL.GetPurchase_Service_DetailsList(Purchase_ServiceData.Id); + var jsonData = new + { + Purchase_Service = Purchase_ServiceData, + Purchase_Service_Details = Purchase_Service_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 a09972dc2..2fb732358 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 @@ -32,7 +32,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -85,23 +85,23 @@ namespace Learun.Application.WebApi return Success(Purchase_Student_DetailsData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_StudentEntity parameter = this.GetReqData(); + var Purchase_StudentData = PurchaseStudentIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Student_DetailsData = PurchaseStudentIBLL.GetPurchase_Student_DetailsList(Purchase_StudentData.Id); + var jsonData = new + { + Purchase_Student = Purchase_StudentData, + Purchase_Student_Details = Purchase_Student_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 78d3f149d..336dc6568 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 @@ -32,7 +32,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -85,23 +85,23 @@ namespace Learun.Application.WebApi // return Success(Purchase_Travel_DetailsData); //} - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_TravelEntity parameter = this.GetReqData(); + var Purchase_TravelData = PurchaseTravelIBLL.GetEntityByProcessId(parameter.ProcessId); + //var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); + var jsonData = new + { + Purchase_Travel = Purchase_TravelData, + //FundsApplyDetail = FundsApplyDetailData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 ee27b078b..6927b8d59 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 @@ -32,7 +32,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -85,23 +85,23 @@ namespace Learun.Application.WebApi return Success(Purchase_Work_DetailsData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_WorkEntity parameter = this.GetReqData(); + var Purchase_WorkData = purchaseworkIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Work_DetailsData = purchaseworkIBLL.GetPurchase_Work_DetailsList(Purchase_WorkData.Id); + var jsonData = new + { + Purchase_Work = Purchase_WorkData, + Purchase_Work_Details = Purchase_Work_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 9b11eba7c..f865a52d4 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 @@ -31,7 +31,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -71,23 +71,23 @@ namespace Learun.Application.WebApi return Success(jsonData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_Edu_ApplyEntity parameter = this.GetReqData(); + var Purchase_EduData = purchaseeduIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Edu_DetailsData = purchaseeduIBLL.GetPurchase_Edu_ApplydetailsList(Purchase_EduData.Id); + var jsonData = new + { + Purchase_Edu = Purchase_EduData, + Purchase_Edu_Details = Purchase_Edu_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 51bddc9fc..b20699804 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 @@ -31,7 +31,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -71,23 +71,23 @@ namespace Learun.Application.WebApi return Success(jsonData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_Info_ApplyEntity parameter = this.GetReqData(); + var Purchase_InfoData = purchaseinfoIBLL.GetEntityByProcessId(parameter.ProcessId); + var FundsApplyDetailData = purchaseinfoIBLL.GetPurchase_Info_ApplydetailsList(Purchase_InfoData.Id); + var jsonData = new + { + Purchase_Info = Purchase_InfoData, + Purchase_Info_Details = FundsApplyDetailData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 4360c7218..ae2337245 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 @@ -31,7 +31,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -71,23 +71,23 @@ namespace Learun.Application.WebApi return Success(jsonData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_Logistic_ApplyEntity parameter = this.GetReqData(); + var Purchase_LogisticData = purchaselogisticIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Logistic_DetailsData = purchaselogisticIBLL.GetPurchase_Logistic_ApplydetailsList(Purchase_LogisticData.Id); + var jsonData = new + { + Purchase_Logistic = Purchase_LogisticData, + Purchase_Logistic_Details = Purchase_Logistic_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 93eab32b3..0ddfcf541 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 @@ -31,7 +31,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -71,23 +71,23 @@ namespace Learun.Application.WebApi return Success(jsonData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_Other_ApplyEntity parameter = this.GetReqData(); + var Purchase_OtherData = PurchaseOtherIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Other_DetailsData = PurchaseOtherIBLL.GetPurchase_Other_ApplydetailsList(Purchase_OtherData.Id); + var jsonData = new + { + Purchase_Other = Purchase_OtherData, + Purchase_Other_Details = Purchase_Other_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 5c06293b9..1863c5c58 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 @@ -31,7 +31,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -71,23 +71,23 @@ namespace Learun.Application.WebApi return Success(jsonData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_Print_ApplyEntity parameter = this.GetReqData(); + var Purchase_PrintData = purchaseprintIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Print_DetailsData = purchaseprintIBLL.GetPurchase_Print_ApplydetailsList(Purchase_PrintData.Id); + var jsonData = new + { + Purchase_Print = Purchase_PrintData, + Purchase_Print_Details = Purchase_Print_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 ff18fa5ce..de10c4b76 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 @@ -31,7 +31,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -71,23 +71,23 @@ namespace Learun.Application.WebApi return Success(jsonData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_Service_ApplyEntity parameter = this.GetReqData(); + var Purchase_ServiceData = PurchaseServiceIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Service_DetailsData = PurchaseServiceIBLL.GetPurchase_Service_ApplydetailsList(Purchase_ServiceData.Id); + var jsonData = new + { + Purchase_Service = Purchase_ServiceData, + Purchase_Service_Details = Purchase_Service_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 00b96f967..2a7650939 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 @@ -31,7 +31,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -71,23 +71,23 @@ namespace Learun.Application.WebApi return Success(jsonData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_Student_ApplyEntity parameter = this.GetReqData(); + var Purchase_StudentData = PurchaseStudentIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Student_DetailsData = PurchaseStudentIBLL.GetPurchase_Student_ApplydetailsList(Purchase_StudentData.Id); + var jsonData = new + { + Purchase_Student = Purchase_StudentData, + Purchase_Student_Details = Purchase_Student_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 054505317..07d963768 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 @@ -31,7 +31,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -71,23 +71,23 @@ namespace Learun.Application.WebApi return Success(jsonData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_Travel_ApplyEntity parameter = this.GetReqData(); + var Purchase_TravelData = PurchaseTravelIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Travel_DetailsData = PurchaseTravelIBLL.GetPurchase_Travel_ApplydetailsList(Purchase_TravelData.Id); + var jsonData = new + { + Purchase_Travel = Purchase_TravelData, + Purchase_Travel_Details = Purchase_Travel_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据 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 53370c9ab..99d190511 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 @@ -31,7 +31,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/submit"] = Submit; - //Get["/shList"] = GetshList; + Get["/shList"] = GetshList; } #region 获取数据 @@ -71,23 +71,23 @@ namespace Learun.Application.WebApi return Success(jsonData); } - ///// - ///// 获取页面显示列表数据 - ///// - ///// - ///// - //public Response GetshList(dynamic _) - //{ - // FundsApplyEntity parameter = this.GetReqData(); - // var FundsApplyData = fundsApplyIBLL.GetEntityByProcessId(parameter.ProcessId); - // var FundsApplyDetailData = fundsApplyDetailIBLL.GetListByApplyId(FundsApplyData.Id); - // var jsonData = new - // { - // FundsApply = FundsApplyData, - // FundsApplyDetail = FundsApplyDetailData, - // }; - // return Success(jsonData); - //} + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + Purchase_Work_ApplyEntity parameter = this.GetReqData(); + var Purchase_WorkData = PurchaseWorkIBLL.GetEntityByProcessId(parameter.ProcessId); + var Purchase_Work_DetailsData = PurchaseWorkIBLL.GetPurchase_Work_ApplydetailsList(Purchase_WorkData.Id); + var jsonData = new + { + Purchase_Work = Purchase_WorkData, + Purchase_Work_Details = Purchase_Work_DetailsData, + }; + return Success(jsonData); + } #endregion #region 提交数据