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)