2 Commits b31a3a8a0a ... c69edf53cc

Auteur SHA1 Message Date
  sjx c69edf53cc Merge branch 'yellow' of http://39.105.160.25:10880/post-project-api/post into yellow il y a 2 ans
  sjx d1125e7ec5 套系上下架1.1 il y a 2 ans

+ 4 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/PostCollectionsSystemServiceImpl.java

@@ -240,6 +240,10 @@ public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemS
 
     @Override
     public int updateBatchById(List<PostCollectionsSystem> postCollectionsSystemList) {
+        for (int i = 0; i < postCollectionsSystemList.size(); i++) {
+            postCollectionsSystemList.get(i). setUpdateBy(getUsername());
+            postCollectionsSystemList.get(i).setUpdateTime(DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SS,DateUtils.getTime()));
+        }
         return postCollectionsSystemMapper.updateBatchById(postCollectionsSystemList);
     }
 }