|
|
@@ -113,7 +113,7 @@ public class SMD
|
|
113
|
113
|
});
|
|
114
|
114
|
}
|
|
115
|
115
|
public static void show() throws IOException {
|
|
116
|
|
- String filename="E:\\deviceinbase\\435.txt";
|
|
|
116
|
+ String filename="E:\\deviceinbase\\lezhao.txt";
|
|
117
|
117
|
FileUtil.readFileByLine(filename, "UTF-8", new Callback<String>(){
|
|
118
|
118
|
public void execute(String line)
|
|
119
|
119
|
{
|
|
|
@@ -133,9 +133,14 @@ public class SMD
|
|
133
|
133
|
// String sql="update sim set imei='"+imei+"' where iccid='"+iccid+"'";
|
|
134
|
134
|
// RCPService.getSimpService().execSql(sql);
|
|
135
|
135
|
|
|
136
|
|
- String sqli2="update device"+(Long.parseLong(line)%32)+" set devstat=0 where devid='"+line+"';";
|
|
137
|
|
- RCPService.getMifiService().execSql(sqli2);
|
|
|
136
|
+// String sqli2="update device"+(Long.parseLong(line)%32)+" set devstat=0 where devid='"+line+"';";
|
|
|
137
|
+// RCPService.getMifiService().execSql(sqli2);
|
|
138
|
138
|
|
|
|
139
|
+ String sql="select * from device"+(Long.parseLong(line)%32)+" where devid='"+line+"'";
|
|
|
140
|
+ List<Map<String, Object>> devices =RCPService.getMifiService().getMapList(sql);
|
|
|
141
|
+ if (devices == null) {
|
|
|
142
|
+ System.out.println(line);
|
|
|
143
|
+ }
|
|
139
|
144
|
}
|
|
140
|
145
|
});
|
|
141
|
146
|
}
|