Преглед на файлове

新增档案也设置修改时间

anderx преди 11 месеца
родител
ревизия
13d933843c
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/main/java/com/goafanti/Interview/service/impl/UserArchivesInterviewServiceImpl.java

+ 1 - 0
src/main/java/com/goafanti/Interview/service/impl/UserArchivesInterviewServiceImpl.java

@@ -121,6 +121,7 @@ public class UserArchivesInterviewServiceImpl extends BaseMybatisDao<UserArchive
                 in.setEarlyCommunication(null);
                 in.setInterviewIdeas(null);
                 in.setCreateTime(new Date());
+                in.setUpdateTime(new Date());
                 userArchivesMapper.insert(in);
             }
         }