From 7313353032daa99c14d44bfa914c794c978c7807 Mon Sep 17 00:00:00 2001 From: liangkun Date: Thu, 25 Aug 2022 11:36:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E7=A5=A8=E6=9F=A5=E7=9C=8B=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/StuFreshPayFeeApi.cs | 15 +++++++++------ .../Modules/StuPayFeeApi.cs | 15 +++++++++------ 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs index 4610f9a20..961802cc4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs @@ -34,17 +34,20 @@ namespace Learun.Application.WebApi.Modules { Get["/getpayfeelist"] = GetPayfeeList;// 获取缴费列表 Get["/getpayfeeinfo"] = GetPayfeeInfo;//获取缴费明细 - Post["/generateqrcode"] = PayFeeQRCode; + Post["/generateqrcode"] = PayFeeQRCode;//生成缴费二维码 + Get["/getinvoice"] = GetInvoice;//获取发票 } private StuInfoFreshIBLL stuInfoFreshIBLL = new StuInfoFreshBLL(); private FinaChargesStandardIBLL finaChargesStandardIBLL = new FinaChargesStandardBLL(); - /// - /// 获取问卷 - /// - /// - /// + public Response GetInvoice(dynamic _) + { + string keyValue = Request.Query["keyValue"]; + var list = stuInfoFreshIBLL.GetStuEnrollFeeOrder(keyValue, true); + return Success(list); + } + public Response GetPayfeeList(dynamic _) { ReqPageParam parameter = this.GetReqData(); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs index 76afef7bb..52cc62442 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs @@ -34,19 +34,22 @@ namespace Learun.Application.WebApi.Modules { Get["/getpayfeelist"] = GetPayfeeList;// 获取缴费列表 Get["/getpayfeeinfo"] = GetPayfeeInfo;//获取缴费明细 - Post["/generateqrcode"] = PayFeeQRCode; + Post["/generateqrcode"] = PayFeeQRCode;//生成缴费二维码 + Get["/getinvoice"] = GetInvoice;//获取发票 } private StuInfoBasic_PayFeeIBLL stuInfoBasic_PayFeeIBLL = new StuInfoBasic_PayFeeBLL(); private StuInfoBasicIBLL stuInfoBasicIbll = new StuInfoBasicBLL(); private StuInfoFreshIBLL stuInfoFreshIBLL = new StuInfoFreshBLL(); private FinaChargesStandardIBLL finaChargesStandardIBLL = new FinaChargesStandardBLL(); + + public Response GetInvoice(dynamic _) + { + string keyValue = Request.Query["keyValue"]; + var list = stuInfoFreshIBLL.GetStuEnrollFeeOrder(keyValue, false); + return Success(list); + } - /// - /// 获取问卷 - /// - /// - /// public Response GetPayfeeList(dynamic _) { ReqPageParam parameter = this.GetReqData();