修改了系统充值的BUG
This commit is contained in:
parent
056f0c92e8
commit
4411d8894a
@ -123,9 +123,8 @@ public class AccountRechargeServiceImpl extends DefaultBaseService implements IA
|
||||
|
||||
@Override
|
||||
public String saveSystem(AccountRechargeVO accountRechargeVO) {
|
||||
accountRechargeVO.setReconciliationStatus("1");
|
||||
accountRechargeVO.setReconciliationStatus("0");
|
||||
accountRechargeVO.setRechargeCheck("2");
|
||||
accountRechargeVO.setReconciliationTime(DateUtil.getTime());
|
||||
String accountRechargeId = getUUID("sys");
|
||||
Map<String, Object> params = HashMapUtil.beanToMap(accountRechargeVO);
|
||||
params.put("accountRechargeId", accountRechargeId);
|
||||
@ -145,6 +144,13 @@ public class AccountRechargeServiceImpl extends DefaultBaseService implements IA
|
||||
|
||||
// 3. 调用第三方接口, 告知充值到账
|
||||
sysCallbackService.save("系统充值到账", systemApiPathProperties.getCopyright() + "api/pay/recharge-success/user-id/" + dto.getAccountId(), null);
|
||||
|
||||
// 更新到账状态
|
||||
Map<String, Object> params1 = getHashMap(2);
|
||||
params1.put("accountRechargeIds", "1");
|
||||
params1.put("reconciliationTime", DateUtil.getTime());
|
||||
params1.put("accountRechargeId", accountRechargeId);
|
||||
accountRechargeDao.update(params1);
|
||||
}
|
||||
|
||||
return accountRechargeId;
|
||||
|
Loading…
Reference in New Issue
Block a user