Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-queue-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
bc1e423f
authored
Mar 31, 2022
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整公司地址
parent
953fe7c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
user/company/main.go
user/company/main.go
View file @
bc1e423f
...
...
@@ -99,10 +99,18 @@ func updateData() (err error) {
curr_time
:=
time
.
Now
()
.
Unix
()
// 更新发票公司表
if
com_addr
==
""
{
_
,
err
=
db
.
CrmDB
.
Exec
(
"update lie_invoice_company set establishment_time = ?, registered_capital = ?, com_organization = ?,"
+
"legal_representative = ?, five_legal_change = ?, two_years_no_lawsuit = ?, total_credit_score = ?, ichunt_hunting_core = ?, blacklist_hit = ?, "
+
"risk_type = ?, update_time = ? where com_name = ?"
,
establishment_time
,
registered_capital
,
com_organization
,
legal_representative
,
five_legal_change
,
two_years_no_lawsuit
,
total_credit_score
,
ichunt_hunting_core
,
blacklist_hit
,
risk_type
,
curr_time
,
company
.
ComName
)
}
else
{
_
,
err
=
db
.
CrmDB
.
Exec
(
"update lie_invoice_company set com_addr = ?, establishment_time = ?, registered_capital = ?, com_organization = ?,"
+
"legal_representative = ?, five_legal_change = ?, two_years_no_lawsuit = ?, total_credit_score = ?, ichunt_hunting_core = ?, blacklist_hit = ?, "
+
"risk_type = ?, update_time = ? where com_name = ?"
,
com_addr
,
establishment_time
,
registered_capital
,
com_organization
,
legal_representative
,
five_legal_change
,
two_years_no_lawsuit
,
total_credit_score
,
ichunt_hunting_core
,
blacklist_hit
,
risk_type
,
curr_time
,
company
.
ComName
)
}
var
mobile
[]
string
=
make
([]
string
,
0
)
var
isAtAll
bool
=
false
...
...
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