Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-bl-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
qg-bl-service
Commits
08a39223
Commit
08a39223
authored
Apr 03, 2020
by
郝彦辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
姓名,手机错误数据修复
parent
35988b1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
BlackListToolsManagerServiceImpl.java
...ervice/service/impl/BlackListToolsManagerServiceImpl.java
+4
-3
No files found.
src/main/java/cn/quantgroup/qgblservice/service/impl/BlackListToolsManagerServiceImpl.java
View file @
08a39223
...
...
@@ -455,18 +455,19 @@ public class BlackListToolsManagerServiceImpl implements IBlackListToolsManagerS
}
if
(
"copyBlackList"
.
equals
(
operatType
)){
copyBlackListNew
();
//copyBlackListNew();
log
.
warn
(
"该方法值执行一次,已经执行!"
);
}
else
if
(
"updat_idNoIsPhone"
.
equals
(
operatType
)){
String
sql_query
=
"select b.id, b.uuid, b.name, b.phone_no, b.id_no, b.black_type, b.type, b.join_black_reason, b.max_overdue_days, b.total_overdue_days, b.created_at, b.updated_at "
+
" from tmp_black_grey_list b where LENGTH(b.id_no)=11; "
;
//5010条
String
sql_update
=
" update tmp_black_grey_list set phone_no=?, phone_no_md5= ?, id_no=?, id_no_md5=? where id=? "
;
String
sql_update
=
" update tmp_black_grey_list set phone_no=?, phone_no_md5= ?, id_no=?, id_no_md5=?
, name=?
where id=? "
;
updat_idNoIsPhone
(
sql_query
,
sql_update
,
"1"
);
}
else
if
(
"updat_PhoneNot11"
.
equals
(
operatType
)){
String
sql_query
=
"select b.id, b.uuid, b.name, b.phone_no, b.id_no, b.black_type, b.type, b.join_black_reason, b.max_overdue_days, b.total_overdue_days, b.created_at, b.updated_at "
+
" from tmp_black_grey_list b where LENGTH(b.phone_no)!=11; "
;
//5398条
String
sql_update
=
" update tmp_black_grey_list set phone_no=?, phone_no_md5= ?, id_no=?, id_no_md5=? where id=? "
;
String
sql_update
=
" update tmp_black_grey_list set phone_no=?, phone_no_md5= ?, id_no=?, id_no_md5=?
, name=?
where id=? "
;
updat_idNoIsPhone
(
sql_query
,
sql_update
,
"2"
);
}
...
...
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