From 462b310a662b26e81e6452ec0efc16b9a5523296 Mon Sep 17 00:00:00 2001 From: louwenzhi Date: Mon, 14 Feb 2022 15:55:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=BF=94=E4=BF=AE=E6=9D=A1?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/qm/implments/ReclinerReclst.service.impl.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/services/qm/implments/ReclinerReclst.service.impl.go b/services/qm/implments/ReclinerReclst.service.impl.go index a150d8d..b9348ea 100644 --- a/services/qm/implments/ReclinerReclst.service.impl.go +++ b/services/qm/implments/ReclinerReclst.service.impl.go @@ -15,6 +15,7 @@ import ( "LAPP_GAAS_GFrame_BACKEND/utils" "LAPP_GAAS_GFrame_BACKEND/web/models" "fmt" + "strings" ) /****************************************************************************** @@ -127,7 +128,7 @@ func (impl *ReclinerReclstServiceImplement) InsertOne(user *models.Usertab, enti if artInfo == nil { return grmi.NewBusinessError("客户订单号没有维护!") } - orderId := entity.SerialOrderId + orderId := strings.ToUpper(entity.SerialOrderId) entity.ArtId = seriInfo.ArtId entity.RecType = model.QM_REC_TYPE @@ -180,7 +181,7 @@ func (impl *ReclinerReclstServiceImplement) InsertSeriOne(user *models.Usertab, entity.Line = seriInfo.PlanResourceId entity.RecType = model.QM_SERI_TYPE entity.Status = "N" - orderId := entity.SerialOrderId + orderId := strings.ToUpper(entity.SerialOrderId) if len(orderId) < 27 { return grmi.NewBusinessError("序列订单长度错误!") } @@ -225,7 +226,7 @@ func (impl *ReclinerReclstServiceImplement) SelectSeriOne(user *models.Usertab, return nil, grmi.NewBusinessError("客户订单号没有维护!") } entity := new(model.ReclinerReclst) - + orderId = strings.ToUpper(seriInfo.SerialOrderId) entity.PlantNr = user.Pid entity.ArtId = seriInfo.ArtId entity.SerialOrderId = orderId -- 2.30.1.windows.1