Commit ff5127fc authored by liudong1993's avatar liudong1993

1

parent 88f360be
......@@ -2674,7 +2674,7 @@ namespace REBORN.Services.CommissionService
}
}
if (demodel.OrderType <= 0 || demodel.OrderId<=0) { return ApiResult.ParamIsNull(); }
if (demodel.SaleRate <= 0) { return ApiResult.ParamIsNull("请传递销售提成比例"); }
if (demodel.SaleRate < 0) { return ApiResult.ParamIsNull("请传递销售提成比例"); }
if (demodel.ManagerRate > 20) { return ApiResult.ParamIsNull("主管提成存在错误"); }
if (demodel.SaleRate + demodel.AppointOPInfoList.Sum(x => x.CommissionRate) > 100)
{
......
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