| | |
| | | i++; |
| | | |
| | | try { |
| | | Template.TAGS.add(tagsEnum.getName()); |
| | | // {id=${col.id}, page=1, limit=5, field=art} ${col.id} 形式需先设置值 |
| | | String tagValue = attributes.get(tagsEnum.getName()); |
| | | tagValue = attrValueFormat(tagValue); |
| | |
| | | public void runDataInject() { |
| | | Attributes attributes = this.element.attributes(); |
| | | for (Attribute attribute : attributes) { |
| | | if (attribute.getKey().startsWith("\\$")) { |
| | | Template.TAGS.add(attribute.getKey()); |
| | | } |
| | | |
| | | String key = attribute.getKey().replaceAll("\\$", ""); |
| | | String value = attribute.getValue(); |
| | | |