Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
037fc5c0
Commit
037fc5c0
authored
Dec 29, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
173a149b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
134 additions
and
22 deletions
+134
-22
StudentBillModule.cs
Edu.Module.Course/StudentBillModule.cs
+106
-21
StuController.cs
Edu.WebApi/Controllers/Course/StuController.cs
+28
-1
No files found.
Edu.Module.Course/StudentBillModule.cs
View file @
037fc5c0
This diff is collapsed.
Click to expand it.
Edu.WebApi/Controllers/Course/StuController.cs
View file @
037fc5c0
using
System.Collections.Generic
;
using
System
;
using
System.Collections.Generic
;
using
Edu.Cache.User
;
using
Edu.Common.API
;
using
Edu.Common.Enum.Course
;
...
...
@@ -167,5 +168,31 @@ namespace Edu.WebApi.Controllers.Course
string
msg
=
studentBillModule
.
SetStudentBackFinance
(
BackClassId
,
IsPublic
,
CurrencyId
,
ClientType
,
ClientId
,
userInfo
);
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
);
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment