From 27e160de1902e0f8a6d3d44a00fb77f7808541b3 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 10 Sep 2024 10:33:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/implement/service_award_dividend_relation_db.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/implement/service_award_dividend_relation_db.go b/src/implement/service_award_dividend_relation_db.go index ca53317..7d0f2ef 100644 --- a/src/implement/service_award_dividend_relation_db.go +++ b/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