| | |
| | | conditionMap.put(queryKey, queryValue); |
| | | } else { |
| | | //为空的时候不代表不校验,只是不去除相关的信息 |
| | | conditionMap.put("t." + attrId, value); |
| | | conditionMap.put("t." + attrId, "'" +value+ "'"); |
| | | } |
| | | } |
| | | } |
| | |
| | | throw new VciBaseException("传入业务类型未查询到相应字段信息,请检查!"); |
| | | } |
| | | Set<String> existFild = allAttributeByBtmId.getData().getAttributes().stream().map(btmTypeAttributeVO -> { |
| | | return btmTypeAttributeVO.getId(); |
| | | return btmTypeAttributeVO.getId().toLowerCase(); |
| | | }).collect(Collectors.toSet()); |
| | | //将bean转为map,mybatis统一处理 |
| | | List<Map<String, String>> maps = new ArrayList<>(); |
| | |
| | | bo.setVersionRule(String.valueOf(listR.getData().get(0).getVersionRule())); |
| | | if (StringUtils.isNotBlank(listR.getData().get(0).getRevisionRuleId())) { |
| | | R<List<RevisionRuleVO>> revisionRuleVO = revisionRuleClient |
| | | .selectByIdCollection(Collections.singletonList(listR.getData().get(0).getRevisionRuleId())); |
| | | bo.setRevisionValue(revisionRuleVO.getData().get(0).getStartCode()); |
| | | .selectByIdCollection(Collections.singletonList(listR.getData().get(0).getRevisionRuleId().toLowerCase())); |
| | | if(revisionRuleVO.getData().size() != 0 ){ |
| | | bo.setRevisionValue(revisionRuleVO.getData().get(0).getStartCode()); |
| | | } |
| | | } |
| | | bo.setRevisionSeq(1); |
| | | bo.setVersionSeq(1); |