|
|
|
|
@ -174,7 +174,7 @@ public class ComplaintCollectionServiceImpl implements ComplaintCollectionServic
|
|
|
|
|
UserAuth user = UserContextHolder.getCurrentUser(); |
|
|
|
|
List<String> roleCodes = user.getRoleCodes(); |
|
|
|
|
if (CollectionUtil.isEmpty(roleCodes) || roleCodes.stream().noneMatch(allowUpdateRoles::contains)) { |
|
|
|
|
throw new IllegalStateException("只有市局管理员可以修改!"); |
|
|
|
|
throw new IllegalStateException("只有[市局管理员、信访投诉-市局管理员]可以修改!"); |
|
|
|
|
} |
|
|
|
|
String id = request.getId(); |
|
|
|
|
ComplaintCollectionExistParam existParam = new ComplaintCollectionExistParam(); |
|
|
|
|
|