Commit 07ba3145 authored by liudong1993's avatar liudong1993

1

parent bbd50152
......@@ -98,11 +98,11 @@ namespace Edu.WebApi.Controllers.Course
demodel.ChildEmpIds = string.Join(",", demodel.ChildEmpList.Select(x => x.Id));
}
if (demodel.CourseRate <= 0)
if (demodel.CourseRate < 0)
{
return ApiResult.ParamIsNull("请传递课程比例");
}
if (demodel.FirstRate <= 0)
if (demodel.FirstRate < 0)
{
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