|
|
@@ -172,7 +172,7 @@ public class UpdateReturnPayFeeCmd extends Cmd {
|
|
|
Assert.hasKeyAndValue(reqJson, "feeId", "feeId不能为空");
|
|
|
if (reqJson.containsKey("cycles")) {
|
|
|
double cycles = reqJson.getDouble("cycles");
|
|
|
- if (cycles >= 0) {
|
|
|
+ if (cycles > 0) {
|
|
|
throw new CmdException("退费周期必须负数");// 这里必须传入负数,否则费用自动相加不会退费
|
|
|
}
|
|
|
}
|