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
b0c0fe81
Commit
b0c0fe81
authored
Jul 28, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/education
parents
78e415e9
71e96222
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
RB_Department.cs
Edu.Model/Entity/User/RB_Department.cs
+13
-4
SellCommissionModule.cs
Edu.Module.Course/SellCommissionModule.cs
+1
-1
No files found.
Edu.Model/Entity/User/RB_Department.cs
View file @
b0c0fe81
...
...
@@ -66,10 +66,19 @@ namespace Edu.Model.Entity.User
/// </summary>
public
DateTime
UpdateTime
{
get
;
set
;
}
/// <summary>
/// 校区编号
/// </summary>
public
int
School_Id
{
get
;
set
;
}
/// <summary>
/// 校区默认值
/// </summary>
private
int
defaultSId
=
-
1
;
/// <summary>
/// 学校编号
/// </summary>
public
int
School_Id
{
get
{
return
defaultSId
;
}
set
{
defaultSId
=
value
;
}
}
/// <summary>
/// 部门层级
...
...
Edu.Module.Course/SellCommissionModule.cs
View file @
b0c0fe81
...
...
@@ -745,7 +745,7 @@ namespace Edu.Module.Course
#
region
班级提成
//查询是否订单下所有学员都已退学
var
g2list
=
glist
.
Where
(
x
=>
x
.
OrderId
==
item
.
OrderId
).
ToList
();
if
(
g2list
.
Where
(
x
=>
x
.
GuestState
==
2
).
Count
()
==
item
.
GuestNum
)
if
(
g2list
.
Where
(
x
=>
x
.
GuestState
==
-
1
).
Count
()
==
item
.
GuestNum
)
{
//所有学生都退学了 直接计算提成 全部一次性发放
if
(
item
.
HelpEnterId
>
0
)
...
...
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