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 selectByPage(Integer layerid, Integer limit, Integer offset); public List selectAll(); public ModelEntity selectById(int id); public ModelEntity selectModelByGuid(int layerid, String modelid); public Integer insert(ModelEntity entity); public Integer inserts(List list); public Integer delete(int id); public Integer deletes(List ids); public Integer update(ModelEntity entity); public Integer updates(List list); }