Authored by LUOXC

fix by zero

... ... @@ -127,7 +127,10 @@ public class DepositServiceImpl implements DepositService {
public PageResp<List<DepositDetailBo>> queryUserDopositBackDetail(Integer uid, Integer page, Integer limit, String appVersion) {
int count = storageDepositMapper.queryUserDopositBackCount(uid);
if (count == 0) {
return new PageResp<>();
PageResp<List<DepositDetailBo>> pageResp = new PageResp<>();
pageResp.setPage(page);
pageResp.setPageSize(limit);
return pageResp;
}
// 召回或者到期退回的
List<StorageDeposit> depositList = storageDepositMapper.queryUserDopositBack(uid, (page - 1) * limit, limit);
... ...