From 026519d87519ec19e591e19b044d05f930fdfb22 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 21 Jul 2025 10:07:17 +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 --- app/task/svc/svc_elm_order.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/task/svc/svc_elm_order.go b/app/task/svc/svc_elm_order.go index 21e9265..9815878 100644 --- a/app/task/svc/svc_elm_order.go +++ b/app/task/svc/svc_elm_order.go @@ -108,6 +108,9 @@ func OrdersElmGet(p int, pageSize int, sTime, eTime int64, timeType string, pvd } for _, v := range order.Result { + if v.Sid == nil { + continue + } if *v.OrderState == 1 { continue } @@ -134,6 +137,9 @@ func OrdersElmGet(p int, pageSize int, sTime, eTime int64, timeType string, pvd orderType = 1 } res.Uid = utils.StrToInt(ex[2]) + if res.Uid == 0 { + continue + } res.StationUid = utils.StrToInt(ex[3]) res.Oid = utils.StrToInt64(utils.OrderUUID(utils.StrToInt(ex[2]))) res.PvdOid = utils.Int64ToStr(*v.BizOrderId)