package com.terra.system.mapper.data;
|
|
import com.terra.system.entity.data.LayerEntity;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
/**
|
* 图层
|
* @author WWW
|
*/
|
@Mapper
|
@Repository
|
public interface LayerMapper {
|
public List<LayerEntity> selectLayers(String uid);
|
|
public List<LayerEntity> selectProjectLayers(String uid);
|
|
public Integer selectCount(String name);
|
|
public List<LayerEntity> selectByPage(String name, Integer limit, Integer offset);
|
|
public List<LayerEntity> 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<LayerEntity> list);
|
|
public Integer delete(int id);
|
|
public Integer deletes(List<Integer> ids);
|
|
public Integer update(LayerEntity entity);
|
|
public Integer updates(List<LayerEntity> list);
|
}
|