package com.terra.system.mapper.sys; import com.terra.system.entity.sys.LayerEntity; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository @SuppressWarnings("ALL") public interface LayerMapper { public List selectLayers(String uid); public List selectProjectLayers(String uid); public Integer selectCount(String name); public List selectByPage(String name, Integer limit, Integer offset); public List selectAll(Integer flag); public LayerEntity selectById(int id); public Integer selectIdByName(String name); public Integer selectMaxOrderNumByPid(Integer pid); public LayerEntity selectByResId(Integer resid); public Integer insert(LayerEntity entity); public Integer inserts(List list); public Integer delete(int id); public Integer deletes(List ids); public Integer update(LayerEntity entity); public Integer updates(List list); }