update 教师身分信息

develop
hhb@hotmail.com 4 weeks ago
parent c1bbd8a7ac
commit 49cfb37404

@ -225,6 +225,8 @@ public class TeacherServiceImpl implements TeacherService {
teacher.setPicture((String) map.get("picture"));
teacher.setIname((String) map.get("iname"));
teacher.setJob((String) map.get("job"));
teacher.setRoles((List<String>) map.get("roles"));
teacher.setGroups((List<GpTeacherVo.IdNameCode>) map.get("groups"));
//teacher.setDegree((String) map.get("degree"));
//teacher.setPracticeTime((String) map.get("practiceTime"));
//teacher.setGender((String) map.get("gender"));

@ -15,9 +15,19 @@ public class GpTeacherVo {
public String job ;
public List<String> subjectIds ;
public List<String> subjectNames ;
public List<String> roles;
public List<IdNameCode> groups;
public String note ;
public String degree;
public Long practiceTime ;
public String gender ;
@Data
public static class IdNameCode{
public String id ;
public String name ;
public String code ;
public String picture ;
public String nickname ;
}
}

Loading…
Cancel
Save