IInnerFileAndFolderService.java 873 B

123456789101112131415161718192021222324252627282930
  1. package com.wtkj.service;
  2. import com.alibaba.fastjson.JSONObject;
  3. import com.baomidou.mybatisplus.core.metadata.IPage;
  4. import com.wtkj.entity.InnerFileAndFolder;
  5. import org.springblade.core.mp.base.BaseService;
  6. import java.util.List;
  7. /**
  8. * @author Blizzard
  9. * @create at 2023-09-26 14:43
  10. * @describe
  11. */
  12. public interface IInnerFileAndFolderService extends BaseService<InnerFileAndFolder> {
  13. List<InnerFileAndFolder> getChildren(Long deptId, Long parentId);
  14. IPage<InnerFileAndFolder> selectPage(Long deptId, Long parentId, String name, IPage<InnerFileAndFolder> page);
  15. JSONObject getPageAndFileAmount(Long deptId, Long parentId);
  16. Integer getFileAmountByFolderId(Long deptId, Long parentId);
  17. List<InnerFileAndFolder> getChildrenFilesByFolderId(Long deptId, Long parentId);
  18. List<InnerFileAndFolder> getChildrenFolderByFolderId(Long deptId, Long parentId);
  19. }