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