by Robin at 20240626
This commit is contained in:
parent
49e47c99d0
commit
7e8c00e926
|
@ -4246,11 +4246,15 @@ func (s *Service) SaveSingleDistributeCallback(ctx *gin.Context, req *hvyogoprot
|
|||
logger.Error("_DefaultSingleDistributeHis ClearLock fail, err: %v", err)
|
||||
}
|
||||
}
|
||||
errorDesc := ""
|
||||
if err != nil {
|
||||
errorDesc = err.Error()
|
||||
}
|
||||
err = _DefaultSingleDistributeHis.OpUpdate(ctx, &single_distribute_his_proto.OpUpdateReq{
|
||||
SingleDistributeHis: &dbstruct.SingleDistributeHis{
|
||||
Id: goproto.String(vo.RequestNo),
|
||||
FinalStatus: goproto.Int64(finalStatus),
|
||||
ErrorDesc: goproto.String(err.Error()),
|
||||
ErrorDesc: goproto.String(errorDesc),
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue