| | |
| | | package com.lf.server.mapper.sys; |
| | | |
| | | import com.lf.server.entity.data.FmeLogEntity; |
| | | import com.lf.server.entity.data.MetaEntity; |
| | | import com.lf.server.entity.sys.AttachEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | |
| | | * 分页查询 |
| | | * |
| | | * @param name 文件名 |
| | | * @param limit 记录表 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | |
| | | * @return |
| | | */ |
| | | public AttachEntity selectByGuid(String guid); |
| | | |
| | | /** |
| | | * 根据Guid数组查询 |
| | | * |
| | | * @param guids |
| | | * @return |
| | | */ |
| | | public List<AttachEntity> selectByGuids(List<String> guids); |
| | | |
| | | /** |
| | | * 根据表名和GUID查询 |
| | | * |
| | | * @param tab |
| | | * @param tabGuid |
| | | * @param guid |
| | | * @return |
| | | */ |
| | | public AttachEntity selectByTabAndGuid(String tab, String tabGuid, String guid); |
| | | |
| | | /** |
| | | * 根据表名和GUID数组查询 |
| | | * |
| | | * @param tab |
| | | * @param guids |
| | | * @return |
| | | */ |
| | | public List<AttachEntity> selectByTabGuids(String tab, List<String> guids); |
| | | |
| | | /** |
| | | * 根据表和GUID查询 |
| | | * |
| | | * @param tab |
| | | * @param guid |
| | | * @return |
| | | */ |
| | | public List<AttachEntity> selectByTab(String tab, String guid); |
| | | |
| | | /** |
| | | * 插入一条 |
| | |
| | | * @return |
| | | */ |
| | | public Integer updates(List<AttachEntity> list); |
| | | |
| | | /** |
| | | * 查询FME日志 |
| | | * |
| | | * @param tabs |
| | | * @return |
| | | */ |
| | | public List<FmeLogEntity> selectFmeLogs(String tabs); |
| | | |
| | | /** |
| | | * 更新FME日志 |
| | | * |
| | | * @param id ID |
| | | * @return |
| | | */ |
| | | public Integer updateFmeLog(Integer id); |
| | | |
| | | /** |
| | | * 根据元数据名称插入附件 |
| | | * |
| | | * @param metaName |
| | | * @param tab |
| | | * @param tabGuid |
| | | * @return |
| | | */ |
| | | public Integer insertAttachByMeta(String metaName, String tab, String tabGuid); |
| | | } |