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 selectByPage(String name, Integer limit, Integer offset); public List selectAll(); public AttachEntity selectById(int id); public AttachEntity selectByGuid(String guid); public List selectByGuids(List guids); public AttachEntity selectByTabAndGuid(String tab, String tabGuid, String guid); public List selectByTabGuids(String tab, List guids); public List selectByTab(String tab, String guid); public Integer insert(AttachEntity entity); public Integer inserts(List list); public Integer delete(int id); public Integer deletes(List ids); public Integer update(AttachEntity entity); public Integer updates(List list); public List selectFmeLogs(String tabs); public Integer updateFmeLog(Integer id); public Integer insertAttachByMeta(String tab, String tabGuid, String metaName, String dirid); }