|
@@ -25,10 +25,7 @@ import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Isolation;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.HashMap;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
+import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
@@ -157,6 +154,7 @@ public class StudentServiceImpl extends BaseServiceImpl<Integer, Student> implem
|
|
|
@Transactional
|
|
|
public Student updateInfo(Student student) {
|
|
|
student.setId(student.getUserId());
|
|
|
+ student.setUpdateTime(new Date());
|
|
|
if (sysUserDao.update(student) <= 0 || studentDao.update(student) <= 0) {
|
|
|
throw new BizException("学生信息更新失败,请重试");
|
|
|
}
|