|
@@ -123,7 +123,7 @@ public class DeptInfoFacade extends DeptInfoServiceImpl {
|
|
|
}
|
|
|
//获取用户信息
|
|
|
RespDTO<Map<String, String>> respDTO = userServiceClient.getUserInfoByIds(ids);
|
|
|
- if (respDTO == null || !"0".equals(respDTO.code)) {
|
|
|
+ if (respDTO == null || !CommonErrorCode.OK.getCode().equals(respDTO.code)) {
|
|
|
throw new CommonException(CommonErrorCode.RPC_ERROR,
|
|
|
"获取用户信息失败");
|
|
|
}
|