Commit b68111be authored by liudong1993's avatar liudong1993

1

parent 28cb431b
......@@ -399,7 +399,6 @@ namespace Edu.Module.Course
if (demodel.OrderId > 0)
{
orderModel = orderRepository.GetEntity(demodel.OrderId);
demodel.OrderIdentify = orderModel.OrderIdentify;
}
//查询班级信息
var classModel = classRepository.GetEntity(demodel.ClassId);
......
......@@ -559,6 +559,10 @@ namespace Edu.WebApi.Controllers.Course
{
return ApiResult.ParamIsNull("请选择客人来源");
}
if (demodel.OrderId > 0)
{
demodel.OrderIdentify = 0;
}
if (demodel.OrderIdentify == 2 && string.IsNullOrEmpty(demodel.StuIds))
{
return ApiResult.ParamIsNull("请传递选择客户");
......
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