master
王家东 2 weeks ago
parent bd52c5c7c7
commit dca3df57c2
  1. 7
      jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java

@ -133,7 +133,12 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
experttemp.setTopPic(sysUser.getAvatar()); experttemp.setTopPic(sysUser.getAvatar());
experttemp.setPhone(sysUser.getPhone()); experttemp.setPhone(sysUser.getPhone());
experttemp.setEmails(sysUser.getEmail()); experttemp.setEmails(sysUser.getEmail());
experttemp.setSsdep(sysDepart.getDepartName()); if (sysDepart!=null ){
experttemp.setSsdep(sysDepart.getDepartName());
}else{
experttemp.setSsdep("暂无");
}
experttemp.setPsd(sysUser.getPassword()); experttemp.setPsd(sysUser.getPassword());
experttemp.setSepsd(sysUser.getPassword()); experttemp.setSepsd(sysUser.getPassword());
}); });

Loading…
Cancel
Save