package com.moon.server.mapper.data; import com.moon.server.entity.data.MetaEntity; import com.moon.server.entity.data.MetaPubEntity; import com.moon.server.entity.data.PublishEntity; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository @SuppressWarnings("ALL") public interface PublishMapper { public Integer selectCount(String name, String dircode, String type); public List selectByPage(String name, String dircode, String type, Integer limit, Integer offset); public List selectAll(); public PublishEntity selectById(int id); public List selectByIds(String ids); public List selectMetasByPubid(Integer pubid); public List selectRaster(); public PublishEntity selectByLayerId(Integer layerId); public List selectCodesForDir(String dircode, Integer isDom); public Integer insert(PublishEntity entity); public Integer inserts(List list); public Integer insertPubDown(Integer pubid, Integer downid, Integer createUser); public Integer insertMetaPub(MetaPubEntity mp); public Integer delete(int id); public Integer deletes(String ids); public Integer update(PublishEntity entity); public Integer updates(List list); public Integer selectMetasByCount(String depcode, String dircode, Integer verid, String types, String name); public List selectMetasByPage(String depcode, String dircode, Integer verid, String types, String name, Integer limit, Integer offset); }