This commit is contained in:
jiangyong 2025-03-05 23:47:14 +08:00
parent 963ada1e73
commit 5fcaa6c0da
1 changed files with 5 additions and 0 deletions

View File

@ -127,6 +127,11 @@ func (s *Approval) saveRefund(detail *qyweixin.ApproveDetail) {
return
}
if old != nil {
newData.Id = old.Id
err = dbDao.Update(newData)
if err != nil {
log.Errorf("db error :%s", err.Error())
}
return
}
_, err = dbDao.Create(newData)