Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
reyun
manager
Commits
b0a3c50e
Commit
b0a3c50e
authored
Aug 11, 2020
by
kangxiaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验客户主账号
parent
9f474aa0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ContractServiceImpl.java
src/main/java/common/service/impl/ContractServiceImpl.java
+2
-1
No files found.
src/main/java/common/service/impl/ContractServiceImpl.java
View file @
b0a3c50e
...
...
@@ -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
public
Map
mapRow
(
ResultSet
resultSet
,
int
i
)
throws
SQLException
{
emailDic
.
put
(
resultSet
.
getString
(
"email"
),
resultSet
.
getString
(
"email"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment