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
e9af77f6
Commit
e9af77f6
authored
Dec 31, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
2fda7a7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
5 deletions
+22
-5
RB_Order.cs
Edu.Model/Entity/Course/RB_Order.cs
+5
-0
StudentBillModule.cs
Edu.Module.Course/StudentBillModule.cs
+17
-5
No files found.
Edu.Model/Entity/Course/RB_Order.cs
View file @
e9af77f6
...
@@ -143,5 +143,10 @@ namespace Edu.Model.Entity.Course
...
@@ -143,5 +143,10 @@ namespace Edu.Model.Entity.Course
/// 更新时间
/// 更新时间
/// </summary>
/// </summary>
public
DateTime
UpdateTime
{
get
;
set
;
}
public
DateTime
UpdateTime
{
get
;
set
;
}
/// <summary>
/// 续费订单号
/// </summary>
public
int
RenewOrderId
{
get
;
set
;
}
}
}
}
}
Edu.Module.Course/StudentBillModule.cs
View file @
e9af77f6
...
@@ -1027,19 +1027,30 @@ namespace Edu.Module.Course
...
@@ -1027,19 +1027,30 @@ namespace Edu.Module.Course
guestModel
.
Id
=
newGuestId
;
guestModel
.
Id
=
newGuestId
;
flag
=
newGuestId
>
0
;
flag
=
newGuestId
>
0
;
}
}
if
(
flag
)
{
Dictionary
<
string
,
object
>
orderFileds
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Order
.
RenewOrderId
),
newOrderId
}
};
flag
=
orderRepository
.
Update
(
orderFileds
,
new
WhereHelper
(
nameof
(
RB_Order
.
OrderId
),
orderId
));
}
return
flag
;
return
flag
;
}
}
/// <summary>
/// <summary>
/// 获取续费课程列表
/// 获取续费课程列表
/// </summary>
/// </summary>
/// <param name="pageIndex"></param>
/// <param name="pageSize"></param>
/// <param name="rowsCount"></param>
/// <param name="query"></param>
/// <param name="query"></param>
/// <param name="oldClassId"></param>
/// <returns></returns>
/// <returns></returns>
public
List
<
object
>
GetRenewClassModule
(
int
pageIndex
,
int
pageSize
,
out
long
rowsCount
,
RB_Class_ViewModel
query
)
public
List
<
object
>
GetRenewClassModule
(
int
pageIndex
,
int
pageSize
,
out
long
rowsCount
,
RB_Class_ViewModel
query
)
{
{
List
<
object
>
list
=
new
List
<
object
>();
List
<
object
>
list
=
new
List
<
object
>();
var
classList
=
classModule
.
GetClassPageListModule
(
pageIndex
,
pageSize
,
out
rowsCount
,
query
);
var
classList
=
classModule
.
GetClassPageListModule
(
pageIndex
,
pageSize
,
out
rowsCount
,
query
,
isGetStepPrice
:
true
);
foreach
(
var
item
in
classList
)
foreach
(
var
item
in
classList
)
{
{
var
obj
=
new
var
obj
=
new
...
@@ -1050,12 +1061,13 @@ namespace Edu.Module.Course
...
@@ -1050,12 +1061,13 @@ namespace Edu.Module.Course
item
.
ClassHours
,
item
.
ClassHours
,
item
.
TeacherName
,
item
.
TeacherName
,
item
.
RoomName
,
item
.
RoomName
,
OpenTime
=
Common
.
ConvertHelper
.
FormatDate
(
item
.
OpenTime
),
OpenTime
=
Common
.
ConvertHelper
.
FormatDate
(
item
.
OpenTime
),
item
.
OriginalPrice
,
item
.
OriginalPrice
,
item
.
SellPrice
,
item
.
SellPrice
,
item
.
ClassPersion
,
item
.
ClassPersion
,
item
.
OrderStudentCount
,
item
.
OrderStudentCount
,
item
.
ClassStepPriceList
item
.
ClassStepPriceList
,
item
.
InnerRemark
};
};
list
.
Add
(
obj
);
list
.
Add
(
obj
);
}
}
...
...
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