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
dd39843c
Commit
dd39843c
authored
Feb 24, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
bfe8a0b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
RB_Order_GuestRepository.cs
Edu.Repository/Sell/RB_Order_GuestRepository.cs
+2
-1
No files found.
Edu.Repository/Sell/RB_Order_GuestRepository.cs
View file @
dd39843c
...
@@ -853,7 +853,8 @@ WHERE A.Id ={guestId}
...
@@ -853,7 +853,8 @@ WHERE A.Id ={guestId}
string
sql
=
$@"select og.*,a.LearnCourseId as CourseId FROM rb_order_guest og
string
sql
=
$@"select og.*,a.LearnCourseId as CourseId FROM rb_order_guest og
INNER JOIN rb_scroll_appointment a on og.Id = a.GuestId
INNER JOIN rb_scroll_appointment a on og.Id = a.GuestId
INNER JOIN rb_class_time t on t.ClassPlanId = a.ClassPlanId
INNER JOIN rb_class_time t on t.ClassPlanId = a.ClassPlanId
WHERE og.Group_Id =
{
demodel
.
Group_Id
}
and a.`Status` =0 and a.State <>5 and t.ClassTimeId =
{
demodel
.
ClassTimeId
}
"
;
WHERE og.Group_Id =
{
demodel
.
Group_Id
}
and a.`Status` =0 and a.State <>5 and t.ClassTimeId =
{
demodel
.
ClassTimeId
}
group by og.Id"
;
return
Get
<
RB_Order_Guest_ViewModel
>(
sql
).
ToList
();
return
Get
<
RB_Order_Guest_ViewModel
>(
sql
).
ToList
();
}
}
...
...
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