抓蛙师
2021-08-30 41de169dd2a527a1adb9a4e621999d1d3efd93f6
ruoyi-common/src/main/java/com/ruoyi/common/core/mybatisplus/core/ServicePlusImpl.java
@@ -149,10 +149,12 @@
            updateList.add(entity);
         }
      }
      if (updateBatchById(updateList)) {
      if (updateList.size()>0 && updateBatchById(updateList)) {
         row += updateList.size();
      }
        if (addList.size() > 0) {
      row += baseMapper.insertAll(addList);
        }
      return row == entityList.size();
   }