dev-discount
胡锐 2 years ago
commit fab875474c
  1. 6
      hai-order/src/main/java/com/web/controller/notify/MobileRechargeNotifyController.java
  2. 2
      hai-schedule/src/main/java/com/hai/schedule/HighRechargeOrderSchedule.java
  3. 2
      hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java

@ -243,9 +243,9 @@ public class MobileRechargeNotifyController {
orderFinish(rechargeOrder); orderFinish(rechargeOrder);
// api商户订单 // api商户订单
if (rechargeOrder.getPayType() == 6) { // if (rechargeOrder.getPayType() == 6) {
apiOrderRecord(rechargeOrder); // apiOrderRecord(rechargeOrder);
} // }
} else { } else {
// 充值失败操作 // 充值失败操作

@ -93,7 +93,7 @@ public class HighRechargeOrderSchedule {
System.out.println("话费定时任务 -> 结束任务"); System.out.println("话费定时任务 -> 结束任务");
} }
@Scheduled(cron = "0 0/30 * * * ?") //每30分钟执行一次 @Scheduled(cron = "0 0/3 * * * ?") //每30分钟执行一次
public void failRechargeOrder() { public void failRechargeOrder() {
List<HighOrder> highOrders = orderService.phoneErrorOrder(); List<HighOrder> highOrders = orderService.phoneErrorOrder();

@ -1224,7 +1224,7 @@ public interface HighOrderMapperExt {
List<ApiThirdOrderModel> getApiThirdOrderByList(@Param("map") Map<String,Object> map); List<ApiThirdOrderModel> getApiThirdOrderByList(@Param("map") Map<String,Object> map);
@Select("SELECT * FROM high_order WHERE create_time < NOW()-INTERVAL 3 day and product_type = 9 and order_status = 2;") @Select("SELECT * FROM high_order WHERE create_time < NOW()-INTERVAL 3 day and product_type = 9 and order_status = 2 and pay_type = 4;")
@Results({ @Results({
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true),
@Result(column="title", property="title", jdbcType=JdbcType.VARCHAR), @Result(column="title", property="title", jdbcType=JdbcType.VARCHAR),

Loading…
Cancel
Save