Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
kaopu-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a4ee4e11
authored
Jan 15, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改动态分数统计
parent
dcc47aaf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
internal/dao/com_credits.go
internal/dao/com_credits.go
View file @
a4ee4e11
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment