Commit d2d4254c authored by Quxl's avatar Quxl

x

parent d2e1e825
...@@ -52,7 +52,7 @@ public class AdminAuthServiceImpl implements AdminAuthService { ...@@ -52,7 +52,7 @@ public class AdminAuthServiceImpl implements AdminAuthService {
@Override @Override
public void enableAdmin(Integer[] adminid) { public void enableAdmin(Integer[] adminid) {
String sql = "update fc_admin set state = 1 where admin in (" + StringUtil.join("?", ", ", adminid.length) + ")"; String sql = "update fc_admin set state = 1 where adminid in (" + StringUtil.join("?", ", ", adminid.length) + ")";
jdbcTemplate.executeUpdate(sql, (Object[])adminid); jdbcTemplate.executeUpdate(sql, (Object[])adminid);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment