更改购买套餐包扣款

This commit is contained in:
1215525055@qq.com 2025-03-05 04:31:18 +08:00
parent d206e2b370
commit b5a631be9a
3 changed files with 4 additions and 3 deletions

View File

@ -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());

View File

@ -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 -> {

View File

@ -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