tsurumure 3 tháng trước cách đây
mục cha
commit
97e591a1df

+ 0 - 4
src/main/java/com/backendsys/modules/upload/service/impl/SysFileCategoryServiceImpl.java

@@ -101,10 +101,6 @@ public class SysFileCategoryServiceImpl implements SysFileCategoryService {
     @Transactional(rollbackFor = Exception.class)
     public Map<String, Object> updateFileCategoryBatch(List<SysFileCategory> sysFileCategoryList) {
 
-        // 手动校验参数
-        if (sysFileCategoryList.size() > 20) {
-            throw new CustException("批量编辑数量不大于: 20");
-        }
         if (sysFileCategoryList.size() > 0) {
             sysFileCategoryList.stream().forEach(item -> {
                 if (item.getCategory_name() != null && item.getCategory_name().isEmpty())