|
|
@@ -1117,7 +1117,7 @@ public class Order extends Controller {
|
|
|
return getErrReturnObject().setErrMsg("超过返利金账户余额,返利金账户余额为" + rebateBalance).toString();
|
|
|
}
|
|
|
if (!Accountbalance.judgeBalance(this, pay_enterpriseid, sa_accountclassid, amount)) {
|
|
|
- return getErrReturnObject().setErrMsg("账户余额不足").toString();
|
|
|
+ return getErrReturnObject().setErrMsg("账户余额不足,还差"+Accountbalance.InsufficientBalance(this, pay_enterpriseid, sa_accountclassid, amount)+"元!").toString();
|
|
|
}
|
|
|
|
|
|
sqlList.addAll(useRateBill(row, "订单提交"));
|
|
|
@@ -1127,7 +1127,7 @@ public class Order extends Controller {
|
|
|
CashbillEntity entity = getCashbillEntity(amount, sa_orderid, "订单提交", "由" + sonum + "订单提交时自动产生");
|
|
|
sqlList.addAll(Accountbalance.createCashbillPay(this, pay_enterpriseid, sa_accountclassid, entity, true));
|
|
|
} else {
|
|
|
- return getErrReturnObject().setErrMsg("账户余额不足").toString();
|
|
|
+ return getErrReturnObject().setErrMsg("账户余额不足,还差"+Accountbalance.InsufficientBalance(this, pay_enterpriseid, sa_accountclassid, amount)+"元!").toString();
|
|
|
}
|
|
|
}
|
|
|
}
|