Browse Source

汇付换账户

周箭河 5 năm trước cách đây
mục cha
commit
e752dd38b8

+ 2 - 4
edu-user/edu-user-biz/src/main/java/com/keao/edu/user/service/impl/StudentServiceImpl.java

@@ -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("学生信息更新失败,请重试");
         }