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