瀏覽代碼

更新

master
huangjiajun 3 月之前
父節點
當前提交
27e160de19
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      src/implement/service_award_dividend_relation_db.go

+ 1
- 0
src/implement/service_award_dividend_relation_db.go 查看文件

@@ -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…
取消
儲存