Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang_asynctask
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
5c065d9b
authored
Aug 12, 2021
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
提交海关字段
parent
aeab8f3a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletions
=/crmuser_to_erp/access.log
=/crmuser_to_erp/error.log
cmd/scm/sync_customs/main.go
=/crmuser_to_erp/access.log
0 → 100644
View file @
5c065d9b
File mode changed
=/crmuser_to_erp/error.log
0 → 100644
View file @
5c065d9b
File mode changed
cmd/scm/sync_customs/main.go
View file @
5c065d9b
...
...
@@ -146,7 +146,13 @@ func handleCurrentTable(tableName,currentDate string) {
if
value
.
String
()
!=
""
{
//获取key和val并拼接字符串
currentKey
+=
key
.
String
()
+
","
//20210812 海关替换goods_id 为 hscode
if
tableName
==
"Purchase_Order"
&&
key
.
String
()
==
"goods_id"
{
currentKey
+=
"hscode,"
}
else
{
currentKey
+=
key
.
String
()
+
","
}
valueString
+=
"?,"
currentString
=
append
(
currentString
,
value
.
String
())
...
...
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