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
509ff18e
authored
Feb 14, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改法人变更为五年
parent
9d000120
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
internal/dao/com_credits.go
internal/logic/tianyancha.go
internal/dao/com_credits.go
View file @
509ff18e
...
...
@@ -243,7 +243,7 @@ func (d *dao)GetBankGrade(ctx context.Context,sumScore float64)(res map[string]s
)
//获取当前条的数据
if
rows
,
err
=
d
.
db
_bank
.
Query
(
ctx
,
"select "
+
SqlField
+
" from lie_grade where status = 1 and min_score <= ? and max_score > ?"
,
sumScore
,
sumScore
);
err
!=
nil
{
if
rows
,
err
=
d
.
db
.
Query
(
ctx
,
"select "
+
SqlField
+
" from lie_grade where status = 1 and min_score <= ? and max_score > ?"
,
sumScore
,
sumScore
);
err
!=
nil
{
err
=
errors
.
WithStack
(
err
)
return
}
...
...
internal/logic/tianyancha.go
View file @
509ff18e
...
...
@@ -126,7 +126,7 @@ func HttpGet(companyName string)(returnDatas map[string]string) {
var
changeInfoNum
int64
changeInfoNum
=
0
for
_
,
v
:=
range
totalNum
.
Result
.
Items
{
if
strings
.
Contains
(
v
[
"changeItem"
],
"法
人变更
"
)
&&
(
DateTurnInt64
(
v
[
"changeTime"
])
+
(
365
*
86400
*
5
))
<
time
.
Now
()
.
Unix
()
{
if
strings
.
Contains
(
v
[
"changeItem"
],
"法
定负责人
"
)
&&
(
DateTurnInt64
(
v
[
"changeTime"
])
+
(
365
*
86400
*
5
))
<
time
.
Now
()
.
Unix
()
{
changeInfoNum
++
}
}
...
...
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