Browse Source

kamaz fix

master
gsd 2 months ago
parent
commit
712b055518
  1. 2
      src/main/java/app/services/db/PermitionService.java

2
src/main/java/app/services/db/PermitionService.java

@ -49,7 +49,7 @@ public class PermitionService {
}
public int extendPermition(SteamID steamID, Integer amount, String status) {
return jdbcTemplate.update("UPDATE sm_admins SET amount=amount+?, reg_date=reg_date WHERE identity LIKE ? AND status LIKE ?",
return jdbcTemplate.update("UPDATE sm_admins SET amount=amount+? WHERE identity LIKE ? AND status LIKE ?",
amount, steamID.steam2, status);
}

Loading…
Cancel
Save