update
This commit is contained in:
parent
17230407dd
commit
fc554f8a52
|
@ -147,6 +147,10 @@ func (s *Approval) saveVacation(detail *qyweixin.ApproveDetail) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if old != nil {
|
if old != nil {
|
||||||
|
err = dbDao.Update(newData)
|
||||||
|
if err != nil {
|
||||||
|
log.Errorf("db error :%s", err.Error())
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
_, err = dbDao.Create(newData)
|
_, err = dbDao.Create(newData)
|
||||||
|
|
Loading…
Reference in New Issue