Commit 36582d6c by Joneq

修改参数不正确

parent ef906bf6
Showing with 1 additions and 1 deletions
......@@ -36,7 +36,7 @@ func (d *dao) UpdateStaticSumScores(ctx context.Context,com_credits model.ComCre
execSql string
)
execSql = "update `lie_com_credits` set `dynamic_credit_score` = ? where id = ? "
execSql = "update `lie_com_credits` set `static_credit_score` = ? where id = ? "
row,err := d.db.Exec(ctx,execSql,com_credits.DynamicCreditScore,com_credits.Id)
if err != nil {
log.Error("db.DemoExec.Exec(%s) error(%v)", execSql, err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment