corpid
This commit is contained in:
parent
19161faf29
commit
e03a09c66f
|
@ -121,6 +121,7 @@ func (s *Approval) saveRefund(detail *qyweixin.ApproveDetail) {
|
|||
dbDao := dao.NewApprovalRefundDao()
|
||||
newData := new(model.ApprovalRefund)
|
||||
newData.From(detail)
|
||||
newData.CorpId = s.corp.Id
|
||||
old, err := dbDao.GetBySpNo(s.corp.Id, detail.SpNo)
|
||||
if err != nil {
|
||||
log.Errorf("db error :%s", err.Error())
|
||||
|
|
Loading…
Reference in New Issue