| | |
| | | package com.lf.server.mapper.data; |
| | | |
| | | import com.lf.server.entity.data.MetaEntity; |
| | | import com.lf.server.entity.data.MetaFileEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | |
| | | public MetaEntity selectById(int id); |
| | | |
| | | /** |
| | | * 查询元数据文件 |
| | | * |
| | | * @param ids 元数据ID集合 |
| | | * @return 元数据文件集合 |
| | | */ |
| | | public List<MetaFileEntity> selectMetaFiles(List<Integer> ids); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |
| | |
| | | public Integer deletes(List<Integer> ids); |
| | | |
| | | /** |
| | | * 级联删除 |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deleteCascade(String ids); |
| | | |
| | | /** |
| | | * 更新一条 |
| | | * |
| | | * @param entity |