SystemFileMapper.java 833 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package com.example.fms.mapper;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.example.fms.common.model.vo.SystemFileVO;
  4. import com.example.fms.domain.SystemFile;
  5. import org.apache.ibatis.annotations.Mapper;
  6. import org.springframework.stereotype.Repository;
  7. /**
  8. * 系统文件的Mapper层接口
  9. *
  10. * @Author xiexiang
  11. * @Date 2023/6/1
  12. */
  13. @Repository
  14. @Mapper
  15. public interface SystemFileMapper extends BaseMapper<SystemFile> {
  16. /**
  17. * 更新系统文件
  18. *
  19. * @param systemFile
  20. * @return
  21. */
  22. int update(SystemFile systemFile);
  23. /**
  24. * 查询系统文件
  25. *
  26. * @param id
  27. * @return
  28. */
  29. SystemFileVO query(Integer id);
  30. /**
  31. * 根据文件名查询
  32. * @param fileName
  33. * @return
  34. */
  35. SystemFileVO getSystemFile(String fileName);
  36. }