Commit b0a3c50e by kangxiaoshan

校验客户主账号

parent 9f474aa0
...@@ -2377,7 +2377,8 @@ public class ContractServiceImpl implements ContractService { ...@@ -2377,7 +2377,8 @@ public class ContractServiceImpl implements ContractService {
} }
//查询腾讯云 服务器上的账号 //查询腾讯云 服务器上的账号
jdbcTemplateqCloud.query("select email from account where is_super_user is true and email in ? ", accountsEmail.toArray(), new RowMapper<Map>() { String emailQ = String.join(",", accountsEmail).replace(",", "','");
jdbcTemplateqCloud.query("select email from account where is_super_user is true and email in (?) ", new String[]{"'" + emailQ + "'"}, new RowMapper<Map>() {
@Override @Override
public Map mapRow(ResultSet resultSet, int i) throws SQLException { public Map mapRow(ResultSet resultSet, int i) throws SQLException {
emailDic.put(resultSet.getString("email"), resultSet.getString("email")); emailDic.put(resultSet.getString("email"), resultSet.getString("email"));
......
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