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
e48515f9
authored
Jan 02, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改数据库获取不正确
parent
ff1f74bc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
internal/dao/bank_dong.go
internal/dao/bank_dong.go
View file @
e48515f9
...
...
@@ -195,8 +195,8 @@ func (d *dao) BankDongRate(ctx context.Context,y map[string]string,modelItems []
s2
=
c1
[
"unload_amount"
]
case
44
:
//近6个月逾期变化率
sql7
:=
fmt
.
Sprintf
(
bank_sql7
,
y
[
"erp_company_code"
],
month_six
,
month_six
)
c3
,
_
:=
d
.
QueryOne
(
ctx
,
3
,
sql7
)
if
c3
[
"delay_rate"
]
==
""
{
c3
,
err
:=
d
.
QueryOne
(
ctx
,
3
,
sql7
)
if
err
!=
nil
||
c3
[
"delay_rate"
]
==
""
{
c3
[
"delay_rate"
]
=
"0"
}
...
...
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