baibx 3 місяців тому
батько
коміт
d8a1c3f9ba

+ 8 - 3
com.sharemao.web.manager/src/main/java/test/SMD.java

@@ -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
 	}

+ 1 - 1
com.sharemao.web.manager/src/main/webapp/view/module/order/packorder.jsp

@@ -30,7 +30,7 @@
30 30
 					<input class="easyui-textbox" id="onum">
31 31
 				</li>
32 32
 				<li>
33
-					<label>单号</label>
33
+					<label>支付方单号</label>
34 34
 					<input class="easyui-textbox" id="transactionId">
35 35
 				</li>
36 36
 				<li>