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
0f91ea8f
Commit
0f91ea8f
authored
Feb 24, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
dd39843c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
MarketConsultantModule.cs
Edu.Module.Customer/MarketConsultantModule.cs
+6
-0
RB_StudentRepository.cs
Edu.Repository/User/RB_StudentRepository.cs
+12
-0
No files found.
Edu.Module.Customer/MarketConsultantModule.cs
View file @
0f91ea8f
...
...
@@ -788,6 +788,12 @@ namespace Edu.Module.Customer
DateTime
start
=
Convert
.
ToDateTime
(
StartTime
);
DateTime
end
=
Convert
.
ToDateTime
(
EndTime
);
var
days
=
(
end
-
start
).
Days
;
var
studentList
=
studentRepository
.
GetStudentListRepository
(
new
RB_Student_ViewModel
()
{
StartTime
=
StartTime
,
EndTime
=
EndTime
,
QCreateBys
=
EmpIds
,
});
var
lastList
=
consultant_DataRepository
.
GetConsultantListRepository
(
new
RB_Consultant_Data_Extend
()
{
StartTime
=
StartTime
,
...
...
Edu.Repository/User/RB_StudentRepository.cs
View file @
0f91ea8f
...
...
@@ -137,12 +137,24 @@ WHERE 1=1
if
(
query
.
CreateBy
>
0
)
{
builder
.
AppendFormat
(
" AND t.{0}={1} "
,
nameof
(
RB_Student_ViewModel
.
CreateBy
),
query
.
CreateBy
);
}
if
(!
string
.
IsNullOrEmpty
(
query
.
QCreateBys
))
{
}
//根据订单编号查询学员
if
(!
string
.
IsNullOrEmpty
(
query
.
QOrderIds
))
{
builder
.
AppendFormat
(
" AND stuog.OrderId IN({0}) "
,
query
.
QOrderIds
);
}
if
(!
string
.
IsNullOrEmpty
(
query
.
StartTime
))
{
builder
.
AppendFormat
(
" AND t.{0}>='{1}' "
,
nameof
(
RB_Student_ViewModel
.
CreateTime
),
query
.
StartTime
);
}
if
(!
string
.
IsNullOrEmpty
(
query
.
EndTime
))
{
builder
.
AppendFormat
(
" AND t.{0}<='{1} 23:59:59' "
,
nameof
(
RB_Student_ViewModel
.
CreateTime
),
query
.
EndTime
);
}
}
var
stuList
=
Get
<
RB_Student_ViewModel
>(
builder
.
ToString
(),
parameters
).
ToList
();
if
(
isQueryCreateType
)
...
...
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