|
|
@@ -59,7 +59,7 @@ public class IpAccountServiceImpl implements IpAccountService {
|
|
|
public Page<IpAccountVO> paginQuery(IpAccountParam ipAccountParam, Integer current, Integer size) {
|
|
|
IpAccountPO ipAccountPO = new IpAccountPO();
|
|
|
BeanUtils.copyProperties(ipAccountParam, ipAccountPO);
|
|
|
- Pageable pageAble = PageRequest.of(current, size);
|
|
|
+ Pageable pageAble = PageRequest.of(current -1, size);
|
|
|
Specification<IpAccountPO> spec = (root, query, cb) -> {
|
|
|
|
|
|
List<Predicate> predicates = new ArrayList<>();
|