|
|
@ -859,6 +859,10 @@ func (impl *SerialOrderServiceImplement) ExtractArchiveData(user *global.User, s |
|
|
|
if err != nil { |
|
|
|
return grmi.NewBusinessError("恢复到生产库失败, 错误:" + err.Error()) |
|
|
|
} |
|
|
|
for index, item := range onlyBarcodeLi { |
|
|
|
item.DetailId = 0 |
|
|
|
onlyBarcodeLi[index] = item |
|
|
|
} |
|
|
|
err = onlyBarcodeDao.Insert(&onlyBarcodeLi) |
|
|
|
if err != nil { |
|
|
|
return grmi.NewBusinessError("恢复到生产库失败, 错误:" + err.Error()) |
|
|
|