dev
parent
92c29cd9ad
commit
d8bcf52b85
|
|
@ -223,7 +223,7 @@ public class RefundDetailSyncService extends BaseSyncService {
|
|||
return Result.failed("未找到客户预付费信息");
|
||||
}
|
||||
|
||||
if (prepayCustomer.getSurplus() == null || amount.compareTo(prepayCustomer.getSurplus()) > 0) {
|
||||
if (prepayCustomer.getSurplus() == null || amount.compareTo(prepayCustomer.getSurplus()) >= 0) {
|
||||
return Result.failed("退费金额不能大于账户余额");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue