Selaa lähdekoodia

审核bug修复

wangtong 1 vuosi sitten
vanhempi
commit
8298fafd51

+ 2 - 1
ruoyi-zdsz/src/main/java/com/ruoyi/zdsz/service/impl/ZEngiineeringPhotoServiceImpl.java

@@ -182,7 +182,8 @@ public class ZEngiineeringPhotoServiceImpl implements IZEngiineeringPhotoService
         if (dlIdList.size() != 0) {
             baseMapper.deleteBatchIds(dlIdList);
 
-        } else if (inList.size() != 0) {
+        }
+        if (inList.size() != 0) {
             List<ZEngiineeringPhoto> photoList = new ArrayList();
             inList.stream().forEach(item -> {
                 ZEngiineeringPhoto zEngiineeringPhoto1 = new ZEngiineeringPhoto();