Showing
1 changed file
with
4 additions
and
1 deletions
@@ -127,7 +127,10 @@ public class DepositServiceImpl implements DepositService { | @@ -127,7 +127,10 @@ public class DepositServiceImpl implements DepositService { | ||
127 | public PageResp<List<DepositDetailBo>> queryUserDopositBackDetail(Integer uid, Integer page, Integer limit, String appVersion) { | 127 | public PageResp<List<DepositDetailBo>> queryUserDopositBackDetail(Integer uid, Integer page, Integer limit, String appVersion) { |
128 | int count = storageDepositMapper.queryUserDopositBackCount(uid); | 128 | int count = storageDepositMapper.queryUserDopositBackCount(uid); |
129 | if (count == 0) { | 129 | if (count == 0) { |
130 | - return new PageResp<>(); | 130 | + PageResp<List<DepositDetailBo>> pageResp = new PageResp<>(); |
131 | + pageResp.setPage(page); | ||
132 | + pageResp.setPageSize(limit); | ||
133 | + return pageResp; | ||
131 | } | 134 | } |
132 | // 召回或者到期退回的 | 135 | // 召回或者到期退回的 |
133 | List<StorageDeposit> depositList = storageDepositMapper.queryUserDopositBack(uid, (page - 1) * limit, limit); | 136 | List<StorageDeposit> depositList = storageDepositMapper.queryUserDopositBack(uid, (page - 1) * limit, limit); |
-
Please register or login to post a comment