| | |
| | | public List<Map<String, String>> getDataByRuleId(String codeRuleId,String chartType) throws VciBaseException { |
| | | List<Map<String,String>> charValueList=new ArrayList<>(); |
| | | CodeRuleCharacter codeRuleCharacter=codeRuleCharacterMapper.selectOne(Wrappers.<CodeRuleCharacter>query().lambda().eq(CodeRuleCharacter::getCodeRuleId,codeRuleId).eq(CodeRuleCharacter::getChartType,chartType)); |
| | | if(codeRuleCharacter!=null&&StringUtils.isNotBlank(codeRuleCharacter.getOid())){ |
| | | List<Character> characterList=codeRuleCharacter.getChartValue().chars().mapToObj(c -> (char) c).collect(Collectors.toList()); |
| | | for (int i = 0; i < characterList.size(); i += 15) { |
| | | final int startIndex = i; |
| | |
| | | } |
| | | charValueList.add(chartMap); |
| | | } |
| | | } |
| | | |
| | | return charValueList; |
| | | } |
| | | /*** |