|
|
@ -234,7 +234,10 @@ public class UserController {
|
|
|
|
if (!map.isEmpty()) {
|
|
|
|
if (!map.isEmpty()) {
|
|
|
|
for (Map.Entry<String, StuClass> stringStuClassEntry : map.entrySet()) {
|
|
|
|
for (Map.Entry<String, StuClass> stringStuClassEntry : map.entrySet()) {
|
|
|
|
StuClass stuClass = stringStuClassEntry.getValue();
|
|
|
|
StuClass stuClass = stringStuClassEntry.getValue();
|
|
|
|
classMapper.insert(stuClass);
|
|
|
|
StuClass stuClass1 = classMapper.selectByPrimaryKey(stuClass.getClassId());
|
|
|
|
|
|
|
|
if (stuClass1 == null) {
|
|
|
|
|
|
|
|
classMapper.insert(stuClass);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (users.isEmpty()) {
|
|
|
|
if (users.isEmpty()) {
|
|
|
|