Commit dd39843c authored by liudong1993's avatar liudong1993

1

parent bfe8a0b8
...@@ -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();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment