SystemFileMapper.java 898 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.example.fms.mapper;
  2. import com.example.fms.common.model.vo.SystemFileVO;
  3. import com.example.fms.domain.SystemFile;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.springframework.stereotype.Repository;
  6. import java.util.List;
  7. /**
  8. * 系统文件的Mapper层接口
  9. *
  10. * @Author xiexiang
  11. * @Date 2023/6/1
  12. */
  13. @Repository
  14. @Mapper
  15. public interface SystemFileMapper {
  16. /**
  17. * 新增系统文件
  18. *
  19. * @param systemFile
  20. * @return 受影响的行数
  21. */
  22. int add(SystemFile systemFile);
  23. /**
  24. * 更新系统文件
  25. *
  26. * @param systemFile
  27. * @return
  28. */
  29. int update(SystemFile systemFile);
  30. /**
  31. * 查询系统文件
  32. *
  33. * @param id
  34. * @return
  35. */
  36. SystemFileVO query(Integer id);
  37. /**
  38. * 删除系统文件
  39. *
  40. * @param ids
  41. * @return
  42. */
  43. int delete(List<Integer> ids);
  44. }