package com.moon.server.mapper.show;
|
|
import com.moon.server.entity.show.ModelEntity;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
@Mapper
|
@Repository
|
@SuppressWarnings("ALL")
|
public interface ModelMapper {
|
public Integer selectCount(Integer layerid);
|
|
public List<ModelEntity> selectByPage(Integer layerid, Integer limit, Integer offset);
|
|
public List<ModelEntity> selectAll();
|
|
public ModelEntity selectById(int id);
|
|
public ModelEntity selectModelByGuid(int layerid, String modelid);
|
|
public Integer insert(ModelEntity entity);
|
|
public Integer inserts(List<ModelEntity> list);
|
|
public Integer delete(int id);
|
|
public Integer deletes(List<Integer> ids);
|
|
public Integer update(ModelEntity entity);
|
|
public Integer updates(List<ModelEntity> list);
|
}
|