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),