From 29545634768fa49fcb855e9e1f40825eb734dc64 Mon Sep 17 00:00:00 2001 From: louwenzhi Date: Wed, 17 Nov 2021 11:24:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E4=B8=AD=E5=88=9B=E5=BB=BA=E7=9A=84?= =?UTF-8?q?=E5=8C=85=E8=A3=85=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/log/log.go | 8 ++++---- services/log/implments/PackOrder.service.impl.go | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/models/log/log.go b/models/log/log.go index d3ef2b4..1629c90 100644 --- a/models/log/log.go +++ b/models/log/log.go @@ -235,7 +235,6 @@ type SyncArtDemandLst struct { CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null" json:"LOG_ArtDemandLst-CreateTime"` } - /****************************************************************************** * * @Struct Name : SyncArtDemandHeadCache @@ -364,7 +363,8 @@ type SyncArtDemandLstCache struct { * ******************************************************************************/ type CreatePackOrderInfo struct { - InfoType string `json:"InfoType"` - Message string `json:"Message"` - Items []PackTemplate `json:"Items"` + InfoType string `json:"InfoType"` + PackOrderId string `json:"PackOrderId"` + Message string `json:"Message"` + Items []PackTemplate `json:"Items"` } diff --git a/services/log/implments/PackOrder.service.impl.go b/services/log/implments/PackOrder.service.impl.go index 5732c84..30824cf 100644 --- a/services/log/implments/PackOrder.service.impl.go +++ b/services/log/implments/PackOrder.service.impl.go @@ -918,6 +918,7 @@ func (self *PackOrderServiceImplement) IsCreatePackOrder(user *models.Usertab, o } packsession.Commit() result := new(model.CreatePackOrderInfo) + result.PackOrderId = packOrderId result.InfoType = model.PackOrder_Success result.Message = "成功创建包装单!" return result, nil @@ -1038,6 +1039,7 @@ func (self *PackOrderServiceImplement) SelectTemplates(user *models.Usertab, ord packsession.Commit() result := new(model.CreatePackOrderInfo) result.InfoType = model.PackOrder_Success + result.PackOrderId = packOrderId result.Message = "成功创建包装单!" result.Items = packTemplants return result, nil