|
@@ -317,14 +317,17 @@ public class AdminWebsitLogic {
|
|
|
adminWebsit.setLng(lnglat.split(",")[0]);
|
|
|
adminWebsit.setLat(lnglat.split(",")[1]);
|
|
|
if (row.size() > 8) {
|
|
|
- adminWebsit.setYunAppid((String) row.get(9));
|
|
|
- adminWebsit.setYunAppkey((String) row.get(10));
|
|
|
- adminWebsit.setYunCompany((String) row.get(11));
|
|
|
- adminWebsit.setYunNumber((String) row.get(12));
|
|
|
- adminWebsit.setYunSystem((String) row.get(13));
|
|
|
- adminWebsit.setYunTax((String) row.get(14));
|
|
|
- adminWebsit.setYunName((String) row.get(15));
|
|
|
- adminWebsit.setYunTwo((((String) row.get(16)).equals("是"))?"YES":"NO");
|
|
|
+ if (!StringUtil.isEmpty((String) row.get(9))) {
|
|
|
+
|
|
|
+ adminWebsit.setYunAppid((String) row.get(9));
|
|
|
+ adminWebsit.setYunAppkey((String) row.get(10));
|
|
|
+ adminWebsit.setYunCompany((String) row.get(11));
|
|
|
+ adminWebsit.setYunNumber((String) row.get(12));
|
|
|
+ adminWebsit.setYunSystem((String) row.get(13));
|
|
|
+ adminWebsit.setYunTax((String) row.get(14));
|
|
|
+ adminWebsit.setYunName((String) row.get(15));
|
|
|
+ adminWebsit.setYunTwo((((String)row.get(16)).equals("是")) ? "YES" : "NO");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
adminWebsits.add(adminWebsit);
|