Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
go_supplier_sever
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
12f40c21
authored
Sep 24, 2021
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix
parent
c96c10fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
app/service/supplier_sku_mode.go
app/service/supplier_sku_mode.go
View file @
12f40c21
...
@@ -49,12 +49,13 @@ func SaveSkuModeFromES() (err error) {
...
@@ -49,12 +49,13 @@ func SaveSkuModeFromES() (err error) {
return
err
return
err
}
}
num
++
num
++
}
else
{
err
=
dao
.
UpdateSupplierSkuMode
(
supplier
.
SupplierId
,
0
)
if
err
!=
nil
{
return
err
}
}
}
}
}
err
=
dao
.
UpdateSupplierSkuMode
(
supplier
.
SupplierId
,
0
)
if
err
!=
nil
{
return
err
}
//time.Sleep(100 * time.Millisecond)
//time.Sleep(100 * time.Millisecond)
}
}
fmt
.
Println
(
"执行完成,有sku_mode的供应商数量为 : "
,
num
)
fmt
.
Println
(
"执行完成,有sku_mode的供应商数量为 : "
,
num
)
...
...
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