Commit 84730487b2b39d75533187cd6a79b2828370f026
1 parent
b8edf38157
Exists in
master
and in
1 other branch
配置接口修改
Showing 1 changed file with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/SmsConfigFacade.java
View file @
8473048
... | ... | @@ -232,7 +232,11 @@ |
232 | 232 | |
233 | 233 | |
234 | 234 | |
235 | - List<Map> deptsPrefixs = JsonUtil.toList(model.getDeptPrefix(), Map.class); | |
235 | + List<Map> deptsPrefixs = new ArrayList<>(); | |
236 | + if (StringUtils.isNotEmpty(model.getDeptPrefix())) | |
237 | + { | |
238 | + deptsPrefixs = JsonUtil.toList(model.getDeptPrefix(),Map.class); | |
239 | + } | |
236 | 240 | if (CollectionUtils.isNotEmpty(deptsPrefixs)) |
237 | 241 | { |
238 | 242 | for (Map dept : deptsPrefixs) |