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
5c3d207d
authored
Jan 15, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改动态分数统计
parent
075a8345
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
internal/dao/com_credits.go
internal/dao/com_credits.go
View file @
5c3d207d
...
@@ -39,7 +39,7 @@ func (d *dao) UpdateStaticSumScores(ctx context.Context,com_credits model.ComCre
...
@@ -39,7 +39,7 @@ func (d *dao) UpdateStaticSumScores(ctx context.Context,com_credits model.ComCre
row
,
err
:=
d
.
db
.
Exec
(
ctx
,
execSql
,
com_credits
.
StaticCreditScore
,
com_credits
.
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 =
?
"
execSql
=
"update `lie_com_credits` set `static_credit_score` = ? where company_name =
'?'
"
_
,
err
=
d
.
db_bank
.
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
)
...
...
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