|
|
|
@@ -179,7 +179,7 @@ public class TtPoiPlanController extends BaseController { |
|
|
|
if(record.getTakeRate() == null){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"商品的抽佣率为空"); |
|
|
|
} |
|
|
|
if(record.getTakeRate() <= 0 || record.getTakeRate() > 2900){ |
|
|
|
if(record.getTakeRate() < 0 || record.getTakeRate() > 2900){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"商品的抽佣率需在万分位0-2900之间"); |
|
|
|
} |
|
|
|
|
|
|
|
|