|
|
@ -127,13 +127,13 @@ public class UserInfoService { |
|
|
|
userInfoMapper.userAddStudent(student); |
|
|
|
userInfoMapper.userAddStudent(student); |
|
|
|
} |
|
|
|
} |
|
|
|
int size = userProfilesList.size(); |
|
|
|
int size = userProfilesList.size(); |
|
|
|
if (size<=0){ |
|
|
|
// if (size<=0){
|
|
|
|
for (int i = 0;i<size; i++){ |
|
|
|
for (int i = 0;i<size; i++){ |
|
|
|
UserProfiles userProfiles = userProfilesList.get(i); |
|
|
|
UserProfiles userProfiles = userProfilesList.get(i); |
|
|
|
userProfiles.setUserId(userId); |
|
|
|
userProfiles.setUserId(userId); |
|
|
|
userInfoMapper.addPersonalFile(userProfiles); |
|
|
|
userInfoMapper.addPersonalFile(userProfiles); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// }
|
|
|
|
int staffListSize = staffList.size(); |
|
|
|
int staffListSize = staffList.size(); |
|
|
|
for (int i = 0;i<staffListSize;i++){ |
|
|
|
for (int i = 0;i<staffListSize;i++){ |
|
|
|
Staff staff = staffList.get(i); |
|
|
|
Staff staff = staffList.get(i); |
|
|
|