|
@@ -51,7 +51,7 @@ public class EmsAuthServiceImpl extends AbstractAuthServiceImpl {
|
|
|
}
|
|
|
List<Group> content = queryResult.getContent();
|
|
|
if (CollUtil.isEmpty(content)){
|
|
|
- throw new BusinessException(ResponseCode.A0402.getDesc(), ResponseCode.A0402.getDesc());
|
|
|
+ throw new BusinessException(ResponseCode.A0402.getCode(), ResponseCode.A0402.getDesc());
|
|
|
}
|
|
|
Map<String, List<Project>> groupMap = content.stream()
|
|
|
.collect(Collectors.toMap(Group::getGroupCode, Group::getProjects, (k1, k2) -> k1));
|