|
|
@@ -68,7 +68,7 @@ public class DzSchoolServiceImpl implements IDzSchoolService
|
|
|
dzSchoolMapper.insertDzSchool(dzSchool);
|
|
|
if(null != dzSchool.getDeptId() && dzSchool.getDeptId() > 0) {
|
|
|
Long campusId = dzSchool.getId();
|
|
|
- Long userId = userService.insertRelateUser(UserTypeEnum.School, campusId, dzSchool.getDeptId(), String.valueOf(campusId), dzSchool.getName());
|
|
|
+ Long userId = userService.insertRelateUser(UserTypeEnum.School, campusId, dzSchool.getDeptId(), dzSchool.getName(), dzSchool.getName());
|
|
|
dzSchool.setUserId(userId);
|
|
|
dzSchoolMapper.updateDzSchool(dzSchool);
|
|
|
}
|