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
a8901970
authored
Dec 31, 2019
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
判断sql插入限制
parent
172e32a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
internal/logic/tianyancha.go
internal/logic/tianyancha.go
View file @
a8901970
...
@@ -75,9 +75,6 @@ func HttpGet(companyName string)(returnDatas map[string]string) {
...
@@ -75,9 +75,6 @@ func HttpGet(companyName string)(returnDatas map[string]string) {
//}
//}
returnData
[
"customer_property"
]
=
"其它"
returnData
[
"customer_property"
]
=
"其它"
if
companyTycInfo
.
Result
.
SocialStaffNum
>
30000
{
companyTycInfo
.
Result
.
SocialStaffNum
=
30000
}
//参保人数
//参保人数
returnData
[
"social_security_participants"
]
=
strconv
.
FormatFloat
(
companyTycInfo
.
Result
.
SocialStaffNum
,
'f'
,
-
1
,
64
)
returnData
[
"social_security_participants"
]
=
strconv
.
FormatFloat
(
companyTycInfo
.
Result
.
SocialStaffNum
,
'f'
,
-
1
,
64
)
...
@@ -90,6 +87,10 @@ func HttpGet(companyName string)(returnDatas map[string]string) {
...
@@ -90,6 +87,10 @@ func HttpGet(companyName string)(returnDatas map[string]string) {
}
else
{
}
else
{
capitalNum
=
StringTurnFloat64
(
companyTycInfo
.
Result
.
RegCapital
)
capitalNum
=
StringTurnFloat64
(
companyTycInfo
.
Result
.
RegCapital
)
}
}
if
capitalNum
>
9999999999
{
capitalNum
=
9999999999
}
returnData
[
"registered_capital"
]
=
strconv
.
FormatFloat
(
capitalNum
,
'f'
,
-
1
,
64
)
returnData
[
"registered_capital"
]
=
strconv
.
FormatFloat
(
capitalNum
,
'f'
,
-
1
,
64
)
...
...
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