Commit 3eaea7a9e6b41053fe31ee72e5cc4257c2b47934

Authored by 潘钊
1 parent bfa472d9

update...

src/main/java/com/bsth/data/basic/bus/BusDataBuffer.java
... ... @@ -162,6 +162,8 @@ public class BusDataBuffer implements CommandLineRunner {
162 162 for(Bus b : tempList)
163 163 idMapsCopy.put(b.getNbbm(), b);
164 164  
  165 + if(tempList.size() == 0)
  166 + return;
165 167 list = tempList;
166 168 idMaps = idMapsCopy;
167 169 logger.info("车辆信息过滤," + list.size());
... ...
src/main/java/com/bsth/data/basic/person/PersonDataBuffer.java
... ... @@ -112,6 +112,8 @@ public class PersonDataBuffer implements CommandLineRunner {
112 112 for(Person p : tempList)
113 113 idMapsCopy.put(p.getJobCode(), p);
114 114  
  115 + if(tempList.size() == 0)
  116 + return;
115 117 list = tempList;
116 118 idMaps = idMapsCopy;
117 119 logger.info("人员信息过滤," + list.size());
... ...