增加财务平账权限

master
luoyang 6 years ago
parent 1e47693364
commit e1b1677fbf

@ -3342,7 +3342,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
throw new InvalidShortIdException();
}
if (!(ManagerRole.ADMIN.hasRole(account.getIntValue("role")) || ManagerRole.OPERATOR.hasRole(account.getIntValue("role")))) {
if (!(ManagerRole.ADMIN.hasRole(account.getIntValue("role")) || ManagerRole.OPERATOR.hasRole(account.getIntValue("role")) || ManagerRole.FINANCIAL_STAFF.hasRole(account.getIntValue("role")))) {
throw new ForbiddenException("无法增加充值记录,权限不足");
}
if (!locker.lock(clientMoniker + "_surcharge_account_save", 120_000)) {

Loading…
Cancel
Save