Browse Source

更新

master
huangjiajun 2 months ago
parent
commit
27e160de19
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/implement/service_award_dividend_relation_db.go

+ 1
- 0
src/implement/service_award_dividend_relation_db.go View File

@@ -41,6 +41,7 @@ func (s ServiceAwardDividendRelationDb) InsertServiceAwardDividendRelation(m *mo
return id, nil
}
func (s ServiceAwardDividendRelationDb) GetServiceAwardDividendRelationByUid(uid int) (m *models.ServiceAwardDividendRelation, err error) {
m = new(models.ServiceAwardDividendRelation)
_, err = s.Db.Where("uid=?", uid).Get(m)
if err != nil {
return nil, err


Loading…
Cancel
Save