dengbiao 2 meses atrás
pai
commit
24f5079bb9
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/super/implement/medium_settlement_implement.go

+ 1
- 1
src/super/implement/medium_settlement_implement.go Ver arquivo

@@ -17,7 +17,7 @@ type MediumSettlementDb struct {
}

func (m MediumSettlementDb) UpdateMediumSettlementBySession(session *xorm.Session, mediumSettlement *model.MediumSettlement, columns ...string) (int64, error) {
affected, err := session.Where("id =?", mediumSettlement.Id).Cols(columns...).Update(m)
affected, err := session.Where("id =?", mediumSettlement.Id).Cols(columns...).Update(mediumSettlement)
if err != nil {
return 0, err
}


Carregando…
Cancelar
Salvar