Commit f37cbc6a642e1b6880edfd7940fbec30360b960b
1 parent
17469ee9
updpate...
Showing
1 changed file
with
7 additions
and
3 deletions
src/main/java/com/bsth/data/schedule/e_state_check/ScheduleStationCodeChecker.java
| @@ -32,13 +32,17 @@ public class ScheduleStationCodeChecker { | @@ -32,13 +32,17 @@ public class ScheduleStationCodeChecker { | ||
| 32 | @Autowired | 32 | @Autowired |
| 33 | JdbcTemplate jdbcTemplate; | 33 | JdbcTemplate jdbcTemplate; |
| 34 | 34 | ||
| 35 | - Logger logger = LoggerFactory.getLogger(this.getClass()); | 35 | + static Logger logger = LoggerFactory.getLogger(ScheduleStationCodeChecker.class); |
| 36 | 36 | ||
| 37 | public static List<SCodeInfo> findByLineIdx(List<String> lineArray){ | 37 | public static List<SCodeInfo> findByLineIdx(List<String> lineArray){ |
| 38 | List<SCodeInfo> rs = new ArrayList<>(); | 38 | List<SCodeInfo> rs = new ArrayList<>(); |
| 39 | 39 | ||
| 40 | - for(String coed : lineArray){ | ||
| 41 | - rs.addAll(multimap.get(coed)); | 40 | + try{ |
| 41 | + for(String coed : lineArray){ | ||
| 42 | + rs.addAll(multimap.get(coed)); | ||
| 43 | + } | ||
| 44 | + }catch (Exception e){ | ||
| 45 | + logger.error("", e); | ||
| 42 | } | 46 | } |
| 43 | return rs; | 47 | return rs; |
| 44 | } | 48 | } |