update
This commit is contained in:
parent
9b84e2b3c7
commit
4735b65cd3
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue