fix
This commit is contained in:
parent
6abca6b271
commit
979df28ae2
|
@ -120,6 +120,7 @@ func (l *SupplementLogic) Supplement(req *types.SupplementReq, userinfo *auth.Us
|
|||
logx.Error(err)
|
||||
return resp.SetStatusWithMessage(basic.CodeServiceErr, "gen order detail sn err")
|
||||
}
|
||||
//事务处理数据
|
||||
err = l.svcCtx.MysqlConn.Transaction(func(tx *gorm.DB) error {
|
||||
orderModel := gmodel.NewFsOrderModel(tx)
|
||||
orderDetailModel := gmodel.NewFsOrderDetailModel(tx)
|
||||
|
|
Loading…
Reference in New Issue
Block a user