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

@ -196,7 +196,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());
}); });
return Result.OK(pageList); return Result.OK(pageList);
@ -241,7 +245,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());
}); });
return Result.OK(pageList); return Result.OK(pageList);
@ -271,7 +279,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());
}); });
return Result.OK(pageList); return Result.OK(pageList);
@ -784,7 +796,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());
experttemp.setAvatar(sysUser.getAvatar()); experttemp.setAvatar(sysUser.getAvatar());

Loading…
Cancel
Save