Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wang
/
go_supplier_task
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
f170cb12
authored
Mar 23, 2021
by
wang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
^
parent
81abd60d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
service/service_mapping.go
service/service_mapping.go
View file @
f170cb12
...
@@ -107,7 +107,9 @@ func (this *ServiceSupplier) GetStatus2SupplierInfo(supplierName string,purchase
...
@@ -107,7 +107,9 @@ func (this *ServiceSupplier) GetStatus2SupplierInfo(supplierName string,purchase
panic
(
nil
)
panic
(
nil
)
}
}
has
,
poolSupplierEntity
:=
this
.
onlyOpenHandle
(
supplierName
,
poolSupplierEntitys
)
has
,
poolSupplierEntity
:=
this
.
onlyOpenHandle
(
supplierName
,
poolSupplierEntitys
)
if
(
has
==
true
){
if
(
has
==
true
){
poolSupplierEntity
.
IsType
=
0
//组装采购员
//组装采购员
oldUids
:=
php2go
.
Explode
(
","
,
poolSupplierEntity
.
ChannelUid
)
oldUids
:=
php2go
.
Explode
(
","
,
poolSupplierEntity
.
ChannelUid
)
channelUidString
:=
this
.
assembleChannelUid
(
purchaseNames
,
oldUids
...
)
channelUidString
:=
this
.
assembleChannelUid
(
purchaseNames
,
oldUids
...
)
...
@@ -133,6 +135,7 @@ func (this *ServiceSupplier) GetStatus2SupplierInfo(supplierName string,purchase
...
@@ -133,6 +135,7 @@ func (this *ServiceSupplier) GetStatus2SupplierInfo(supplierName string,purchase
common
.
PrintStdout
()
.
Printf
(
"不存在此标准供应商,供应商名:%s,进行新增"
,
supplierName
)
common
.
PrintStdout
()
.
Printf
(
"不存在此标准供应商,供应商名:%s,进行新增"
,
supplierName
)
poolSupplierEntity
:=
PoolSupplierEntity
{}
poolSupplierEntity
:=
PoolSupplierEntity
{}
poolSupplierEntity
.
Status
=
2
poolSupplierEntity
.
Status
=
2
poolSupplierEntity
.
IsType
=
0
poolSupplierEntity
.
SupplierName
=
strings
.
Replace
(
supplierName
,
"?"
,
" "
,
10
)
poolSupplierEntity
.
SupplierName
=
strings
.
Replace
(
supplierName
,
"?"
,
" "
,
10
)
_
,
err
:=
dbSpu
.
Table
(
"lie_supplier_channel"
)
.
Insert
(
&
poolSupplierEntity
)
_
,
err
:=
dbSpu
.
Table
(
"lie_supplier_channel"
)
.
Insert
(
&
poolSupplierEntity
)
if
(
err
!=
nil
){
if
(
err
!=
nil
){
...
...
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