|
@ -19,6 +19,7 @@ import com.ekexiu.portal.dao.ResearchAreaLogDao;
|
19
|
19
|
import com.ekexiu.portal.dao.ResourceDao;
|
20
|
20
|
import com.ekexiu.portal.dao.UserDao;
|
21
|
21
|
import com.ekexiu.portal.dao.WatchDao;
|
|
22
|
import com.ekexiu.portal.po.Organization;
|
22
|
23
|
import com.ekexiu.portal.po.Professor;
|
23
|
24
|
import com.ekexiu.portal.po.Resource;
|
24
|
25
|
import com.ekexiu.portal.po.User;
|
|
@ -966,6 +967,12 @@ public class ProfessorService {
|
966
|
967
|
if (!editProfessors.isEmpty()) {
|
967
|
968
|
for (EditProfessor editProfessor : editProfessors) {
|
968
|
969
|
editProfessor.setHasHeadImage(this.imageService.hasProfessorImage(editProfessor.getId()));
|
|
970
|
if(editProfessor.getOrgId() != null) {
|
|
971
|
Organization organization = this.orgDao.query(con, editProfessor.getOrgId());
|
|
972
|
if(organization != null) {
|
|
973
|
editProfessor.setOrgName(organization.getName());
|
|
974
|
}
|
|
975
|
}
|
969
|
976
|
}
|
970
|
977
|
}
|
971
|
978
|
return hiddenPrivacyInfo(editProfessors);
|