From 52fb9677f0e8c31276c5cfab5d8654f4c883b478 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 1 Nov 2024 17:54:19 +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/svc/svc_order_track_save_create.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/svc/svc_order_track_save_create.go b/app/svc/svc_order_track_save_create.go index f0460a2..0189d91 100644 --- a/app/svc/svc_order_track_save_create.go +++ b/app/svc/svc_order_track_save_create.go @@ -584,8 +584,12 @@ func OrderSaveCreate(eg *xorm.Engine, pvd string, ordData *[]md.OrderInfo, opts newPvd = md.PVD_JD orderFormType = 1 } - //TODO 待确认 ServiceUid := "" + NewServiceAwardDividendRelationDb := implement.NewServiceAwardDividendRelationDb(eg) + relation, _ := NewServiceAwardDividendRelationDb.GetServiceAwardDividendRelationByUid(uid) + if relation != nil { + ServiceUid = utils.IntToStr(relation.BindUid) + } // 插入新订单 newOrd := &model.OrdList{ ServiceUid: utils.StrToInt(ServiceUid),