Commit 29afbf74781769031a938bc1b806cfbaef8c43a9
1 parent
351ac5a5b7
Exists in
master
and in
1 other branch
改字段
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
29afbf7
... | ... | @@ -1742,12 +1742,13 @@ |
1742 | 1742 | private String getTreatmentOpinion3(Map<String, List<String>> ids) { |
1743 | 1743 | if(MapUtils.isNotEmpty(ids)) { |
1744 | 1744 | StringBuilder sb = new StringBuilder(); |
1745 | + Integer count = 0; | |
1745 | 1746 | Iterator<Map.Entry<String, List<String>>> iterator = ids.entrySet().iterator(); |
1746 | 1747 | while (iterator.hasNext()) { |
1747 | 1748 | List<String> list = iterator.next().getValue(); |
1748 | 1749 | if(com.lyms.platform.operate.web.utils.CollectionUtils.isNotEmpty(list)) { |
1749 | 1750 | for (int i = 0; i < list.size(); i++) { |
1750 | - sb.append(i + 1).append(".").append(list.get(i).split("\[fuck\]")[0]).append(","); | |
1751 | + sb.append(++count).append(".").append(list.get(i).split("\[fuck\]")[0]).append(","); | |
1751 | 1752 | } |
1752 | 1753 | } |
1753 | 1754 | } |