<?phpnamespace page; // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2017 http://t…
按照示例进行如下代码编写 Repository Page<DeviceEntity> findByTenantId(int tenantId, Pageable pageable); service @Override public List<DeviceEntity> getDevices(int count, int page, int teantid) { Page<DeviceEntity> devices=deviceEntityRepository.find…