This commit is contained in:
jiangyong 2025-03-05 23:17:25 +08:00
parent 17230407dd
commit fc554f8a52
1 changed files with 4 additions and 0 deletions

View File

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