| | |
| | | if (isSearch) { |
| | | isSearch = false; |
| | | } |
| | | |
| | | selectOne = null; |
| | | } catch (Exception e) { |
| | | logger.error("error occured.", e); |
| | | } |
| | |
| | | |
| | | @Override |
| | | public EncodeReplaceDict getRowData(String rowKey) { |
| | | Iterator<EncodeReplaceDict> iterator = this.iterator(); |
| | | EncodeReplaceDict su = null; |
| | | while (iterator.hasNext()) { |
| | | su = iterator.next(); |
| | | if ( su.getId().equals(Long.parseLong(rowKey))) { |
| | | return su; |
| | | } |
| | | } |
| | | return null; |
| | | // Iterator<EncodeReplaceDict> iterator = this.iterator(); |
| | | // EncodeReplaceDict su = null; |
| | | // while (iterator.hasNext()) { |
| | | // su = iterator.next(); |
| | | // if ( su.getId().equals(Long.parseLong(rowKey))) { |
| | | // return su; |
| | | // } |
| | | // } |
| | | return encodeReplaceDictService.getOne(Long.parseLong(rowKey)); |
| | | } |
| | | }; |
| | | } |