From 4fa061b8f0a0ffde155cefff880ba87531af1f18 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 27 Aug 2024 20:50:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consume/zhios_express_order_fail.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consume/zhios_express_order_fail.go b/consume/zhios_express_order_fail.go index 3c5822d..0c4ba42 100644 --- a/consume/zhios_express_order_fail.go +++ b/consume/zhios_express_order_fail.go @@ -76,7 +76,7 @@ func handleZhiosExpressOrderFail(msg []byte) error { //判断订单是否订单失败 ord := db.GetExpressWithOid(eg, canalMsg.Oid) officialOrd := offical.GetExpressWithOid(canalMsg.Oid) - if ord.Status == "已退回" { + if ord.Status == "已退回" || ord.IsRefund == 1 || ord.IsCancel == 1 { return nil } ordExpressPlatform := utils.IntToStr(ord.ExpressPlatform)