This commit is contained in:
jiangyong 2025-03-05 23:27:02 +08:00
parent 9b84e2b3c7
commit 4735b65cd3
1 changed files with 1 additions and 0 deletions

View File

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