diff --git a/services/qm/implments/ReclinerReclst.service.impl.go b/services/qm/implments/ReclinerReclst.service.impl.go index 7da5a4d..a150d8d 100644 --- a/services/qm/implments/ReclinerReclst.service.impl.go +++ b/services/qm/implments/ReclinerReclst.service.impl.go @@ -135,7 +135,7 @@ func (impl *ReclinerReclstServiceImplement) InsertOne(user *models.Usertab, enti if len(orderId) < 27 { return grmi.NewBusinessError("序列订单长度错误!") } - entity.ReclinerNr = orderId[0:19] + "R" + orderId[20:27] + entity.ReclinerNr = orderId[0:19] + "9" + orderId[20:27] err = dao.InsertOne(entity) if err != nil { return err @@ -184,7 +184,7 @@ func (impl *ReclinerReclstServiceImplement) InsertSeriOne(user *models.Usertab, if len(orderId) < 27 { return grmi.NewBusinessError("序列订单长度错误!") } - entity.ReclinerNr = orderId[0:19] + "R" + orderId[20:27] + entity.ReclinerNr = orderId[0:19] + "9" + orderId[20:27] err = dao.InsertOne(entity) if err != nil { return err @@ -234,7 +234,7 @@ func (impl *ReclinerReclstServiceImplement) SelectSeriOne(user *models.Usertab, if len(orderId) < 27 { return nil, grmi.NewBusinessError("序列订单长度错误!") } - entity.ReclinerNr = orderId[0:19] + "R" + orderId[20:27] + entity.ReclinerNr = orderId[0:19] + "9" + orderId[20:27] return entity, nil }