IFileReadService.java 491 B

12345678910111213141516171819202122
  1. package com.wtkj.service;
  2. import com.wtkj.entity.FileRead;
  3. import org.springblade.core.mp.base.BaseService;
  4. import org.springblade.system.user.entity.User;
  5. import java.util.List;
  6. /**
  7. * @author Blizzard
  8. * @create at 2023-09-15 11:14
  9. * @describe
  10. */
  11. public interface IFileReadService extends BaseService<FileRead> {
  12. boolean readFile(FileRead read);
  13. List<FileRead> getByUser(Long userId);
  14. List<User> fileRead(String bladeFileId);
  15. boolean isRead(String bladeFileId, Long userId);
  16. }