Commit 351ac5a5b75fa1619f35b4220bcac9aae2992fd0
1 parent
4fdf08b081
Exists in
master
and in
6 other branches
改字段
Showing 1 changed file with 11 additions and 12 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
351ac5a
| ... | ... | @@ -1740,21 +1740,20 @@ |
| 1740 | 1740 | } |
| 1741 | 1741 | |
| 1742 | 1742 | private String getTreatmentOpinion3(Map<String, List<String>> ids) { |
| 1743 | - StringBuilder sb = new StringBuilder(); | |
| 1744 | - if(MapUtils.isEmpty(ids)) { | |
| 1745 | - return sb.toString(); | |
| 1746 | - } | |
| 1747 | - Iterator<Map.Entry<String, List<String>>> iterator = ids.entrySet().iterator(); | |
| 1748 | - while (iterator.hasNext()) { | |
| 1749 | - List<String> list = iterator.next().getValue(); | |
| 1750 | - if(com.lyms.platform.operate.web.utils.CollectionUtils.isNotEmpty(list)) { | |
| 1751 | - for (int i = 0; i < list.size(); i++) { | |
| 1752 | - sb.append(i + 1).append(".").append(list.get(i)).append(","); | |
| 1743 | + if(MapUtils.isNotEmpty(ids)) { | |
| 1744 | + StringBuilder sb = new StringBuilder(); | |
| 1745 | + Iterator<Map.Entry<String, List<String>>> iterator = ids.entrySet().iterator(); | |
| 1746 | + while (iterator.hasNext()) { | |
| 1747 | + List<String> list = iterator.next().getValue(); | |
| 1748 | + if(com.lyms.platform.operate.web.utils.CollectionUtils.isNotEmpty(list)) { | |
| 1749 | + for (int i = 0; i < list.size(); i++) { | |
| 1750 | + sb.append(i + 1).append(".").append(list.get(i).split("\\[fuck\\]")[0]).append(","); | |
| 1751 | + } | |
| 1753 | 1752 | } |
| 1754 | - return sb.toString().substring(0, sb.toString().length() - 1); | |
| 1755 | 1753 | } |
| 1754 | + return sb.toString().substring(0, sb.toString().length() - 1); | |
| 1756 | 1755 | } |
| 1757 | - return sb.toString(); | |
| 1756 | + return ""; | |
| 1758 | 1757 | } |
| 1759 | 1758 | |
| 1760 | 1759 | /** |