Commit 075a8345 by Joneq

修改动态分数统计

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