Commit 4dbcc79e authored by zhangqingle's avatar zhangqingle

修改接口

parent af3e9a79
......@@ -474,7 +474,11 @@ public class BLessonServiceImpl implements BLessonService {
// if (StringUtils.isEmpty(param.getViewParam())){
// param.setViewParam("");
// }
List<FindDepartByNameDTO> departs = cotactApiRequestClient.deptListDeptInfoByName(param.getCorpId(), param.getViewParam());
String viewParam = param.getViewParam();
if (StringUtils.isEmpty(viewParam)){
viewParam = "";
}
List<FindDepartByNameDTO> departs = cotactApiRequestClient.deptListDeptInfoByName(param.getCorpId(), viewParam);
//查询结果放入DTO中
param.setDeparts(departs);
//查询该课程推荐的所有人
......@@ -497,7 +501,10 @@ public class BLessonServiceImpl implements BLessonService {
}
}
}
log.error("推荐范围1-------------"+findLessonPersonRecommend);
log.error("推荐范围2-------------"+findLessonDepartRecommend);
findLessonPersonRecommend.addAll(findLessonDepartRecommend);
log.error("推荐范围3-------------"+findLessonPersonRecommend);
}
log.error("推荐范围-------------"+findLessonPersonRecommend);
......
......@@ -577,9 +577,6 @@ public class MTCotactApiRequestClient {
}
public List<FindDepartByNameDTO> deptListDeptInfoByName(String corpId,String name){
if (StringUtils.isEmpty(name)){
name = "";
}
return contactFeignClient.deptListDeptInfoByName(corpId,name,zxClientType,zxAccountId).getData();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment