Commit a4ee4e11 by Joneq

修改动态分数统计

parent dcc47aaf
Showing with 4 additions and 0 deletions
......@@ -37,6 +37,10 @@ func (d *dao) UpdateStaticSumScores(ctx context.Context,com_credits model.ComCre
execSql = "update `lie_com_credits` set `static_credit_score` = ? where id = ? "
row,err := d.db.Exec(ctx,execSql,com_credits.StaticCreditScore,com_credits.Id)
//修改银行的
execSql = "update `lie_com_credits` set `static_credit_score` = ? where company_name = ? "
_,err = d.db.Exec(ctx,execSql,com_credits.StaticCreditScore,com_credits.CompanyName)
logic.CheckErr(err)
d.UpdateComCredits(ctx,com_credits)
......
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