Commit 037fc5c0 authored by 黄奎's avatar 黄奎

页面修改

parent 173a149b
This diff is collapsed.
using System.Collections.Generic; using System;
using System.Collections.Generic;
using Edu.Cache.User; using Edu.Cache.User;
using Edu.Common.API; using Edu.Common.API;
using Edu.Common.Enum.Course; using Edu.Common.Enum.Course;
...@@ -167,5 +168,31 @@ namespace Edu.WebApi.Controllers.Course ...@@ -167,5 +168,31 @@ namespace Edu.WebApi.Controllers.Course
string msg = studentBillModule.SetStudentBackFinance(BackClassId, IsPublic, CurrencyId, ClientType, ClientId, userInfo); string msg = studentBillModule.SetStudentBackFinance(BackClassId, IsPublic, CurrencyId, ClientType, ClientId, userInfo);
return string.IsNullOrEmpty(msg) ? ApiResult.Success() : ApiResult.Failed(msg); return string.IsNullOrEmpty(msg) ? ApiResult.Success() : ApiResult.Failed(msg);
} }
/// <summary>
/// 学员续费订单
/// </summary>
/// <returns></returns>
[HttpPost]
public ApiResult RenewOrder()
{
//订单编号
int OrderId = base.ParmJObj.GetInt("OrderId");
//学员编号
int guestId = base.ParmJObj.GetInt("GuestId");
var orderModel = new RB_Order_ViewModel()
{
SaleRemark="学员续费",
CreateBy=base.UserInfo.Id,
CreateTime=DateTime.Now,
UpdateBy=base.UserInfo.Id,
UpdateTime=DateTime.Now,
Dept_Id=base.UserInfo.DeptId,
Group_Id=base.UserInfo.Group_Id,
};
bool flag = studentBillModule.RenewOrderModule(OrderId, guestId, orderModel,out string message);
return flag ? ApiResult.Success() : ApiResult.Failed(message: message);
}
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment