更改分页属性

master
chen 4 years ago
parent 69de2f6727
commit b7b76a26c4
  1. 2
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgCopyUserServiceImpl.java

@ -77,7 +77,7 @@ public class DgCopyUserServiceImpl extends ServiceImpl<DgCopyUserMapper, DgCopyU
} }
String userId = this.getUserId(); String userId = this.getUserId();
copyForMeRequest.setUserId(Integer.parseInt(userId)); copyForMeRequest.setUserId(Integer.parseInt(userId));
copyForMeRequest.setSize((copyForMeRequest.getPage()-1)*copyForMeRequest.getSize()); copyForMeRequest.setPage((copyForMeRequest.getPage()-1)*copyForMeRequest.getSize());
List<CopyForMeResponse> copyForMeResponseList = baseMapper.selectCopyForMe(copyForMeRequest); List<CopyForMeResponse> copyForMeResponseList = baseMapper.selectCopyForMe(copyForMeRequest);
if (copyForMeResponseList.size() > 0) { if (copyForMeResponseList.size() > 0) {

Loading…
Cancel
Save