| | |
| | | @Override |
| | | public List<BOAndLO> queryCLOAndBOBySchema(UILinkTypeDataQuery linkTypeDataQuery) { |
| | | VciBaseUtil.alertNotNull(linkTypeDataQuery,"链接类型查询对象",linkTypeDataQuery.getQueryTemplateName(),"查询模板的名称"); |
| | | QueryTemplate qt =boService.getQtByName(linkTypeDataQuery.getQueryTemplateName(),linkTypeDataQuery.getReplaceMap()); |
| | | QueryTemplate qt = boService.getQtByName(linkTypeDataQuery.getQueryTemplateName(),linkTypeDataQuery.getReplaceMap()); |
| | | return queryCLOAndBOByQueryTemplate(qt,linkTypeDataQuery); |
| | | } |
| | | |
| | |
| | | |
| | | for(i = 0; i < attrValList.size(); ++i) { |
| | | attrVal = attrValList.get(i); |
| | | if (attrVal.attrName.toUpperCase().equals(attributeName.toUpperCase())) { |
| | | attrVal.attrVal = attributeValue; |
| | | if (attrVal.name.toUpperCase().equals(attributeName.toUpperCase())) { |
| | | attrVal.value = attributeValue; |
| | | isExist = true; |
| | | break; |
| | | } |
| | |
| | | |
| | | if (!isExist) { |
| | | attrVal = new AttributeValue(); |
| | | attrVal.attrName = attributeName.toUpperCase(); |
| | | attrVal.attrVal = attributeValue; |
| | | attrVal.name = attributeName.toUpperCase(); |
| | | attrVal.value = attributeValue; |
| | | attrValList.add(attrVal); |
| | | } |
| | | |