| | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 源数据 |
| | | * 元数据 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | |
| | | public List<MetaEntity> selectByPageForUpload(String name, Integer createUser, String types, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * 根据父ID查询记录数 |
| | | * |
| | | * @param metaid |
| | | * @param name |
| | | * @return |
| | | */ |
| | | public List<MetaEntity> selectAll(); |
| | | public Integer selectCountByPid(Integer metaid, String name); |
| | | |
| | | /** |
| | | * 根据父ID分页查询 |
| | | * |
| | | * @param metaid |
| | | * @param name |
| | | * @param limit |
| | | * @param offset |
| | | * @return |
| | | */ |
| | | public List<MetaEntity> selectPageByPid(Integer metaid, String name, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | |
| | | public MetaEntity selectByGuid(String guid, String tab); |
| | | |
| | | /** |
| | | * 查询源数据文件 |
| | | * 查询元数据文件 |
| | | * |
| | | * @param ids 源数据ID集合 |
| | | * @return 源数据文件集合 |
| | | * @param ids 元数据ID集合 |
| | | * @return 元数据文件集合 |
| | | */ |
| | | public List<MetaEntity> selectMetaFiles(List<Integer> ids); |
| | | |
| | | /** |
| | | * 查询Excel源数据 |
| | | * 查询Excel元数据 |
| | | * |
| | | * @param ids 源数据ID集合 |
| | | * @param ids 元数据ID集合 |
| | | * @param tabs 表名字符串 |
| | | * @return 源数据文件集合 |
| | | * @return 元数据文件集合 |
| | | */ |
| | | public List<MetaEntity> selectXlsAnnex(Integer[] ids, String tabs); |
| | | |
| | |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<MetaEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public Integer delete(int id); |
| | | |
| | | /** |
| | | * 删除多条 |