update
This commit is contained in:
parent
17230407dd
commit
fc554f8a52
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue