数据合并-用户

This commit is contained in:
wuchunlei
2024-04-19 18:07:20 +08:00
parent 29b4b63aed
commit 3ae068513c

View File

@@ -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")+"' ");
ResultSet telResultSet = telStatements.executeQuery();
if (telResultSet.next()){
if (telResultSet.getRow()>1){
if (telResultSet.getRow()>1){//这里需要检查
System.out.println(map.get("oid").toString()+"---"+map.get("nameCN").toString()+"有多账号");
}else {
String sql = "update user_copy1 set yljk_oid = '" + map.get("oid") +"',"+