1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- package com.example.fms.mapper;
- 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;
- import java.util.List;
- /**
- * 系统文件的Mapper层接口
- *
- * @Author xiexiang
- * @Date 2023/6/1
- */
- @Repository
- @Mapper
- public interface SystemFileMapper {
- /**
- * 新增系统文件
- *
- * @param systemFile
- * @return 受影响的行数
- */
- int add(SystemFile systemFile);
- /**
- * 更新系统文件
- *
- * @param systemFile
- * @return
- */
- int update(SystemFile systemFile);
- /**
- * 查询系统文件
- *
- * @param id
- * @return
- */
- SystemFileVO query(Integer id);
- /**
- * 删除系统文件
- *
- * @param ids
- * @return
- */
- int delete(List<Integer> ids);
- }
|