donggaosheng 1 éve
szülő
commit
6ca6cd9d79

+ 1 - 1
zd-modules/zd-security/src/main/java/com/zd/security/service/impl/CheckRectifyServiceImpl.java

@@ -212,7 +212,7 @@ public class CheckRectifyServiceImpl extends ServiceImpl<CheckRectifyMapper, Che
                         QueryWrapper <Upload> updateWrapper = new QueryWrapper <>();
                         //过滤物理删除数据及正序叙
                         updateWrapper.lambda().eq(Upload::getIsDeleted, Boolean.FALSE)
-                                .eq(Upload::getKeyId,checkRectifyList.get(i).getId())
+                                .eq(Upload::getKeyId,checkRectifyList.get(0).getId())
                                 .eq(Upload::getSource,3).orderByAsc(Upload::getId);
                         List <Upload> updateList = uploadService.list(updateWrapper);
                         for(int con=0;con<updateList.size();con++){