master
王家东 2 weeks ago
parent 797fadb8f0
commit a6349c2212
  1. 6
      jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java

@ -101,7 +101,11 @@ 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