mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 11:19:52 +08:00
累计提现金额
This commit is contained in:
@@ -3,7 +3,6 @@ package com.jsowell.pile.service.impl;
|
|||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.huifu.adapay.core.exception.BaseAdaPayException;
|
import com.huifu.adapay.core.exception.BaseAdaPayException;
|
||||||
import com.jsowell.adapay.service.AdapayService;
|
import com.jsowell.adapay.service.AdapayService;
|
||||||
import com.jsowell.adapay.vo.DrawCashDetailVO;
|
|
||||||
import com.jsowell.common.util.DateUtils;
|
import com.jsowell.common.util.DateUtils;
|
||||||
import com.jsowell.common.util.StringUtils;
|
import com.jsowell.common.util.StringUtils;
|
||||||
import com.jsowell.pile.domain.ClearingWithdrawInfo;
|
import com.jsowell.pile.domain.ClearingWithdrawInfo;
|
||||||
@@ -103,8 +102,8 @@ public class ClearingWithdrawInfoServiceImpl implements ClearingWithdrawInfoServ
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<WithdrawInfoVO> selectByMerchantId(String merchantId) throws BaseAdaPayException {
|
public List<WithdrawInfoVO> selectByMerchantId(String merchantId) throws BaseAdaPayException {
|
||||||
List<WithdrawInfoVO> resultList = Lists.newArrayList();
|
|
||||||
List<ClearingWithdrawInfo> infoList = clearingWithdrawInfoMapper.selectByMerchantId(merchantId);
|
List<ClearingWithdrawInfo> infoList = clearingWithdrawInfoMapper.selectByMerchantId(merchantId);
|
||||||
|
List<WithdrawInfoVO> resultList = Lists.newArrayList();
|
||||||
if (CollectionUtils.isEmpty(infoList)) {
|
if (CollectionUtils.isEmpty(infoList)) {
|
||||||
return resultList;
|
return resultList;
|
||||||
}
|
}
|
||||||
@@ -118,11 +117,8 @@ public class ClearingWithdrawInfoServiceImpl implements ClearingWithdrawInfoServ
|
|||||||
vo.setMerchantId(merchantId);
|
vo.setMerchantId(merchantId);
|
||||||
vo.setWithdrawCode(withdrawCode);
|
vo.setWithdrawCode(withdrawCode);
|
||||||
vo.setApplicationTime(DateUtils.formatDateTime(clearingWithdrawInfo.getApplicationTime()));
|
vo.setApplicationTime(DateUtils.formatDateTime(clearingWithdrawInfo.getApplicationTime()));
|
||||||
DrawCashDetailVO drawCashDetailVO = adapayService.queryDrawCashDetail(withdrawCode, wechatAppId);
|
vo.setStatusDesc(clearingWithdrawInfo.getWithdrawStatus());
|
||||||
if (drawCashDetailVO != null) {
|
vo.setCashAmt(String.valueOf(clearingWithdrawInfo.getCreditedAmt()));
|
||||||
vo.setStatusDesc(drawCashDetailVO.getStatusDesc());
|
|
||||||
vo.setCashAmt(drawCashDetailVO.getCashAmt());
|
|
||||||
}
|
|
||||||
resultList.add(vo);
|
resultList.add(vo);
|
||||||
}
|
}
|
||||||
return resultList;
|
return resultList;
|
||||||
|
|||||||
Reference in New Issue
Block a user