自动取消订单任务

This commit is contained in:
2025-08-19 19:00:15 +08:00
parent b0ed6dd62c
commit 23fe389507
2 changed files with 9 additions and 2 deletions

View File

@@ -217,6 +217,13 @@ public class ShopOrder implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime expirationTime;
@Schema(description = "评价状态 0未评价 1已评价")
private Integer evaluateStatus;
@Schema(description = "评价时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime evaluateTime;
@Schema(description = "对账情况0=未对账1=已对账3=已对账金额对不上4=未查询到该订单")
private Integer checkBill;

View File

@@ -225,7 +225,7 @@
<if test="param.statusFilter != null and param.statusFilter != -1">
<if test="param.statusFilter == 0">
<!-- 0待支付未付款 -->
AND a.pay_status = 0
AND a.pay_status = 0 AND a.order_status = 0
</if>
<if test="param.statusFilter == 1">
<!-- 1待发货已付款但未发货 -->
@@ -241,7 +241,7 @@
</if>
<if test="param.statusFilter == 4">
<!-- 4待评价订单已完成但可能需要评价 -->
AND a.order_status = 1
AND a.order_status = 1 AND a.evaluate_status = 0
</if>
<if test="param.statusFilter == 5">
<!-- 5已完成订单状态为已完成 -->