数据合并-用户
This commit is contained in:
@@ -379,7 +379,7 @@ public class DataMigrationUtil extends Thread {
|
|||||||
PreparedStatement telStatements = fzdsconn.prepareStatement("select * from user_copy1 where del_flag = 0 and tel = '"+map.get("cellPhone")+"' ");
|
PreparedStatement telStatements = fzdsconn.prepareStatement("select * from user_copy1 where del_flag = 0 and tel = '"+map.get("cellPhone")+"' ");
|
||||||
ResultSet telResultSet = telStatements.executeQuery();
|
ResultSet telResultSet = telStatements.executeQuery();
|
||||||
if (telResultSet.next()){
|
if (telResultSet.next()){
|
||||||
if (telResultSet.getRow()>1){
|
if (telResultSet.getRow()>1){//这里需要检查
|
||||||
System.out.println(map.get("oid").toString()+"---"+map.get("nameCN").toString()+"有多账号");
|
System.out.println(map.get("oid").toString()+"---"+map.get("nameCN").toString()+"有多账号");
|
||||||
}else {
|
}else {
|
||||||
String sql = "update user_copy1 set yljk_oid = '" + map.get("oid") +"',"+
|
String sql = "update user_copy1 set yljk_oid = '" + map.get("oid") +"',"+
|
||||||
|
|||||||
Reference in New Issue
Block a user