123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package com.example.fms.mapper;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.example.fms.common.model.vo.SystemFileVO;
- import com.example.fms.domain.SystemFile;
- import org.apache.ibatis.annotations.Mapper;
- import org.springframework.stereotype.Repository;
- /**
- * 系统文件的Mapper层接口
- *
- * @Author xiexiang
- * @Date 2023/6/1
- */
- @Repository
- @Mapper
- public interface SystemFileMapper extends BaseMapper<SystemFile> {
- /**
- * 更新系统文件
- *
- * @param systemFile
- * @return
- */
- int update(SystemFile systemFile);
- /**
- * 查询系统文件
- *
- * @param id
- * @return
- */
- SystemFileVO query(Integer id);
- /**
- * 根据文件名查询
- * @param fileName
- * @return
- */
- SystemFileVO getSystemFile(String fileName);
- }
|