package com.moon.server.mapper.sys;
|
|
import com.moon.server.entity.data.FmeLogEntity;
|
import com.moon.server.entity.sys.AttachEntity;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
@Mapper
|
@Repository
|
@SuppressWarnings("ALL")
|
public interface AttachMapper {
|
public Integer selectCount(String name);
|
|
public List<AttachEntity> selectByPage(String name, Integer limit, Integer offset);
|
|
public List<AttachEntity> selectAll();
|
|
public AttachEntity selectById(int id);
|
|
public AttachEntity selectByGuid(String guid);
|
|
public List<AttachEntity> selectByGuids(List<String> guids);
|
|
public AttachEntity selectByTabAndGuid(String tab, String tabGuid, String guid);
|
|
public List<AttachEntity> selectByTabGuids(String tab, List<String> guids);
|
|
public List<AttachEntity> selectByTab(String tab, String guid);
|
|
public Integer insert(AttachEntity entity);
|
|
public Integer inserts(List<AttachEntity> list);
|
|
public Integer delete(int id);
|
|
public Integer deletes(List<Integer> ids);
|
|
public Integer update(AttachEntity entity);
|
|
public Integer updates(List<AttachEntity> list);
|
|
public List<FmeLogEntity> selectFmeLogs(String tabs);
|
|
public Integer updateFmeLog(Integer id);
|
|
public Integer insertAttachByMeta(String tab, String tabGuid, String metaName, String dirid);
|
}
|