Commit 66be30f9 authored by 吴春's avatar 吴春

提交代码

parent 3fcb3c64
......@@ -668,9 +668,9 @@ 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.Group_Id)} ={demodel.Group_Id}");
}
if (demodel.School_Id > 0)
if (demodel.School_Id > -1)
{
builder.AppendFormat($@" AND class.{nameof(RB_Order_Guest_Extend.School_Id)} ={demodel.School_Id}");
builder.AppendFormat($@" AND A.{nameof(RB_Order_Guest_Extend.School_Id)} ={demodel.School_Id}");
}
if (demodel.CourseId > 0)
{
......
......@@ -282,7 +282,7 @@ namespace Edu.WebApi.Controllers.Course
var model = new RB_Order_Guest_Extend
{
School_Id = base.ParmJObj.GetInt("School_Id", 0),
School_Id = base.ParmJObj.GetInt("School_Id", -1),
CourseId = base.ParmJObj.GetInt("CourseId", 0),
ClassId = base.ParmJObj.GetInt("ClassId", 0),
GuestName = base.ParmJObj.GetStringValue("GuestName"),
......
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