修改了对公充值和系统充值的到账推送
This commit is contained in:
parent
67341e851d
commit
b310c19590
@ -274,6 +274,9 @@ public class AccountRechargeServiceImpl extends DefaultBaseService implements IA
|
||||
}
|
||||
params.put("rechargeRemark", rechargeRemark);
|
||||
accountRechargeDao.updateRemark(params);
|
||||
|
||||
AccountRechargeDTO dto = accountRechargeDao.get(params);
|
||||
|
||||
if (StringUtils.isEmpty(po.getAccountItemId()) && po.getReconciliationStatus().equals("0")) {
|
||||
// 1. 生成流水记录
|
||||
AccountItemVO vo = new AccountItemVO();
|
||||
@ -285,10 +288,13 @@ public class AccountRechargeServiceImpl extends DefaultBaseService implements IA
|
||||
String accountItemId = iAccountItemService.saveReturnId(vo);
|
||||
// 2. 修改状态为2
|
||||
updateCheck(po.getAccountRechargeId(), RechargeCheckEnum.RECHARGE_SUCCESS, rechargeRemark, accountItemId, "", DateUtil.getTime());
|
||||
// 3. 平台通知到账
|
||||
JSONObject jsonobject =new JSONObject();
|
||||
jsonobject.put("money", po.getRechargeMoney());
|
||||
sysCallbackService.save("对公充值到账", systemApiPathProperties.getCopyright() + "api/pay/recharge-success/user-id/" + po.getAccountId(), jsonobject);
|
||||
// 套餐包购买的不通知
|
||||
if(StringUtils.isEmpty(dto.getPackageInfoId())) {
|
||||
// 3. 平台通知到账
|
||||
JSONObject jsonobject =new JSONObject();
|
||||
jsonobject.put("money", dto.getRechargeMoney());
|
||||
sysCallbackService.save("对公充值到账", systemApiPathProperties.getCopyright() + "api/pay/recharge-success/user-id/" + dto.getAccountId(), jsonobject);
|
||||
}
|
||||
// 4. 短信通知到账
|
||||
/**
|
||||
* TODO-CBC : 金额 大于 10 的 , 短信通知客户已到账
|
||||
|
Loading…
Reference in New Issue
Block a user