专家部分CMS添加头像

master
王家东 2 weeks ago
parent 3879aa062f
commit 0b7db734bc
  1. 1
      jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java
  2. 3
      jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/entity/Expert.java

@ -715,6 +715,7 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
experttemp.setSsdep(sysDepart.getDepartName()); experttemp.setSsdep(sysDepart.getDepartName());
experttemp.setPsd(sysUser.getPassword()); experttemp.setPsd(sysUser.getPassword());
experttemp.setSepsd(sysUser.getPassword()); experttemp.setSepsd(sysUser.getPassword());
experttemp.setAvatar(sysUser.getAvatar());
}); });
return Result.OK(pageList); return Result.OK(pageList);

@ -103,6 +103,9 @@ public class Expert implements Serializable {
private String emails; private String emails;
@TableField(exist = false) @TableField(exist = false)
private Integer sex; private Integer sex;
@TableField(exist = false)
private String avatar;
/**提交审核*/ /**提交审核*/
// @Excel(name = "提交审核", width = 15,replace = {"是_Y","否_N"} ) // @Excel(name = "提交审核", width = 15,replace = {"是_Y","否_N"} )

Loading…
Cancel
Save