更改购买套餐包扣款
This commit is contained in:
parent
d206e2b370
commit
b5a631be9a
@ -380,6 +380,7 @@ public class AccountRechargeServiceImpl extends DefaultBaseService implements IA
|
||||
* 1. 创建流水
|
||||
*/
|
||||
AccountItemVO vo = new AccountItemVO();
|
||||
vo.setAccountItemId(accountItemId1);
|
||||
vo.setType(2);
|
||||
vo.setMode(2);
|
||||
vo.setAccountId(dto.getCreator());
|
||||
|
@ -44,7 +44,7 @@ public class WxPayResultCheckTask {
|
||||
*/
|
||||
@Scheduled(fixedDelay = 60 * 1000 * 1)
|
||||
public void updateWxStatus() {
|
||||
LOG.debug("检查微信近10分钟未核对的订单");
|
||||
LOG.debug("检查微信近3分钟未核对的订单");
|
||||
// 未充值的订单
|
||||
List<AccountRechargePO> accountRechargePOS = iAccountRechargeService.listPOByOnlineNotCheck(ThirdPartyEnum.WX.getValue());
|
||||
accountRechargePOS.forEach(po -> {
|
||||
@ -64,7 +64,7 @@ public class WxPayResultCheckTask {
|
||||
*/
|
||||
@Scheduled(fixedDelay = 60 * 1000 * 1)
|
||||
public void updateZfbStatus() {
|
||||
LOG.debug("检查支付宝近10分钟未核对的订单");
|
||||
LOG.debug("检查支付宝近3分钟未核对的订单");
|
||||
// 未充值的订单
|
||||
List<AccountRechargePO> accountRechargePOS = iAccountRechargeService.listPOByOnlineNotCheck(ThirdPartyEnum.ZFB.getValue());
|
||||
accountRechargePOS.forEach(po -> {
|
||||
|
@ -568,7 +568,7 @@
|
||||
AND t1.recharge_check = #{rechargeCheck}
|
||||
</if>
|
||||
<if test="queryOnline != null and queryOnline != ''">
|
||||
AND (t1.recharge_check = '0' OR t1.recharge_check = '1' ) AND t1.recharge_type = '2' AND t1.third_party = #{queryOnline} AND t1.recharge_final_time = '' >= NOW() - INTERVAL 10 MINUTE
|
||||
AND (t1.recharge_check = '0' OR t1.recharge_check = '1' ) AND t1.recharge_type = '2' AND t1.third_party = #{queryOnline} AND t1.recharge_final_time >= NOW() - INTERVAL 3 MINUTE
|
||||
</if>
|
||||
<if test="accountRechargeIds != null and accountRechargeIds.size > 0">
|
||||
AND
|
||||
|
Loading…
Reference in New Issue
Block a user