|
|
@ -139,6 +139,10 @@ func (impl *ReclinerReclstServiceImplement) InsertOne(user *models.Usertab, enti |
|
|
|
entity.ArtId = artId |
|
|
|
entity.RecType = model.QM_REC_TYPE |
|
|
|
entity.Status = "N" |
|
|
|
if len(orderId) < 27{ |
|
|
|
return grmi.NewBusinessError("序列订单长度错误!") |
|
|
|
} |
|
|
|
entity.ReclinerNr = orderId[0:19] + "R" + orderId[20:27] |
|
|
|
err = dao.InsertOne(entity) |
|
|
|
if err != nil { |
|
|
|
return err |
|
|
|