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
3ac7b027
Commit
3ac7b027
authored
Dec 27, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
9e6c987a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
241 additions
and
63 deletions
+241
-63
RB_ReturnMoney_Batch.cs
Edu.Model/Entity/Sell/RB_ReturnMoney_Batch.cs
+3
-0
EmployeeBonusModule.cs
Edu.Module.Course/EmployeeBonusModule.cs
+217
-58
OrderModule.cs
Edu.Module.Course/OrderModule.cs
+1
-4
RB_CustomerRepository.cs
Edu.Repository/Customer/RB_CustomerRepository.cs
+1
-0
RB_Order_GuestRepository.cs
Edu.Repository/Sell/RB_Order_GuestRepository.cs
+4
-0
OrderController.cs
Edu.WebApi/Controllers/Course/OrderController.cs
+14
-1
StuController.cs
Edu.WebApi/Controllers/Course/StuController.cs
+1
-0
No files found.
Edu.Model/Entity/Sell/RB_ReturnMoney_Batch.cs
View file @
3ac7b027
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.Text
;
using
System.Text
;
using
VT.FW.DB
;
namespace
Edu.Model.Entity.Sell
namespace
Edu.Model.Entity.Sell
{
{
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_ReturnMoney_Batch
public
class
RB_ReturnMoney_Batch
{
{
/// <summary>
/// <summary>
...
...
Edu.Module.Course/EmployeeBonusModule.cs
View file @
3ac7b027
This diff is collapsed.
Click to expand it.
Edu.Module.Course/OrderModule.cs
View file @
3ac7b027
...
@@ -121,10 +121,7 @@ namespace Edu.Module.Course
...
@@ -121,10 +121,7 @@ namespace Edu.Module.Course
/// 学生
/// 学生
/// </summary>
/// </summary>
private
readonly
RB_StudentRepository
studentRepository
=
new
RB_StudentRepository
();
private
readonly
RB_StudentRepository
studentRepository
=
new
RB_StudentRepository
();
/// <summary>
/// 学生日志
/// </summary>
private
readonly
RB_Student_LogRepository
student_LogRepository
=
new
RB_Student_LogRepository
();
/// <summary>
/// <summary>
/// 同行
/// 同行
/// </summary>
/// </summary>
...
...
Edu.Repository/Customer/RB_CustomerRepository.cs
View file @
3ac7b027
...
@@ -87,6 +87,7 @@ WHERE 1=1
...
@@ -87,6 +87,7 @@ WHERE 1=1
}
}
}
}
}
}
builder
.
AppendFormat
(
" ORDER BY A.{0} DESC "
,
nameof
(
RB_Customer_Extend
.
CustomerId
));
return
GetPage
<
RB_Customer_Extend
>(
pageIndex
,
pageSize
,
out
rowsCount
,
builder
.
ToString
(),
parameters
).
ToList
();
return
GetPage
<
RB_Customer_Extend
>(
pageIndex
,
pageSize
,
out
rowsCount
,
builder
.
ToString
(),
parameters
).
ToList
();
}
}
...
...
Edu.Repository/Sell/RB_Order_GuestRepository.cs
View file @
3ac7b027
...
@@ -717,6 +717,10 @@ WHERE 1=1 AND A.Status=0 AND class.Status=0 AND class.ClassStatus <>4 AND b.Or
...
@@ -717,6 +717,10 @@ WHERE 1=1 AND A.Status=0 AND class.Status=0 AND class.ClassStatus <>4 AND b.Or
{
{
builder
.
AppendFormat
(
$@" AND A.
{
nameof
(
RB_Order_Guest_Extend
.
GuestName
)}
like '%
{
demodel
.
GuestName
}
%'"
);
builder
.
AppendFormat
(
$@" AND A.
{
nameof
(
RB_Order_Guest_Extend
.
GuestName
)}
like '%
{
demodel
.
GuestName
}
%'"
);
}
}
if
(
demodel
.
GuestState
>
0
)
{
builder
.
AppendFormat
(
$@" AND A.
{
nameof
(
RB_Order_Guest_Extend
.
GuestState
)}
=
{(
int
)
demodel
.
GuestState
}
"
);
}
if
(!
string
.
IsNullOrEmpty
(
demodel
.
ClassNo
))
if
(!
string
.
IsNullOrEmpty
(
demodel
.
ClassNo
))
{
{
builder
.
AppendFormat
(
$@" AND class.
{
nameof
(
RB_Order_Guest_Extend
.
ClassNo
)}
like '%
{
demodel
.
ClassNo
}
%'"
);
builder
.
AppendFormat
(
$@" AND class.
{
nameof
(
RB_Order_Guest_Extend
.
ClassNo
)}
like '%
{
demodel
.
ClassNo
}
%'"
);
...
...
Edu.WebApi/Controllers/Course/OrderController.cs
View file @
3ac7b027
...
@@ -2325,7 +2325,6 @@ namespace Edu.WebApi.Controllers.Course
...
@@ -2325,7 +2325,6 @@ namespace Edu.WebApi.Controllers.Course
#
endregion
#
endregion
#
region
甲鹤小程序付款的课程同步过来
#
region
甲鹤小程序付款的课程同步过来
/// <summary>
/// <summary>
/// 新增修改订单
/// 新增修改订单
...
@@ -2391,6 +2390,20 @@ namespace Edu.WebApi.Controllers.Course
...
@@ -2391,6 +2390,20 @@ namespace Edu.WebApi.Controllers.Course
#
endregion
#
region
获取学员状态列表
/// <summary>
/// 获取学员状态列表
/// </summary>
/// <returns></returns>
[
HttpPost
]
public
ApiResult
GetGuestStateList
()
{
var
list
=
Common
.
Plugin
.
EnumHelper
.
EnumToList
(
typeof
(
GuestStateEnum
));
return
ApiResult
.
Success
(
data
:
list
);
}
#
endregion
#
endregion
}
}
}
}
Edu.WebApi/Controllers/Course/StuController.cs
View file @
3ac7b027
...
@@ -304,6 +304,7 @@ namespace Edu.WebApi.Controllers.Course
...
@@ -304,6 +304,7 @@ namespace Edu.WebApi.Controllers.Course
EnterID
=
base
.
ParmJObj
.
GetInt
(
"EnterID"
,
0
),
EnterID
=
base
.
ParmJObj
.
GetInt
(
"EnterID"
,
0
),
JoinType
=
base
.
ParmJObj
.
GetInt
(
"JoinType"
,
0
),
JoinType
=
base
.
ParmJObj
.
GetInt
(
"JoinType"
,
0
),
EarlyWarning
=
(
Common
.
Enum
.
Course
.
GuestClassHoursEarlyWarningEnum
)
base
.
ParmJObj
.
GetInt
(
"EarlyWarning"
,
0
),
EarlyWarning
=
(
Common
.
Enum
.
Course
.
GuestClassHoursEarlyWarningEnum
)
base
.
ParmJObj
.
GetInt
(
"EarlyWarning"
,
0
),
GuestState
=(
GuestStateEnum
)
base
.
ParmJObj
.
GetInt
(
"GuestState"
),
};
};
model
.
School_Id
=
-
1
;
model
.
School_Id
=
-
1
;
var
schoolId
=
base
.
ParmJObj
.
GetStringValue
(
"School_Id"
);
var
schoolId
=
base
.
ParmJObj
.
GetStringValue
(
"School_Id"
);
...
...
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