Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
go_sku_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
063d926e
authored
May 06, 2023
by
SUDPTDUBLXEROFX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
rochester 递增量为1
parent
5651d777
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
model/ly_sku.go
model/ly_sku.go
View file @
063d926e
...
@@ -180,6 +180,10 @@ func InitSkuData(sku string) (data LySku) {
...
@@ -180,6 +180,10 @@ func InitSkuData(sku string) (data LySku) {
data
.
Multiple
=
mpq
data
.
Multiple
=
mpq
}
}
}
}
//todo 2023.5.6 如果是rochester ,递增量为1
if
supplierId
==
3
{
data
.
Multiple
=
1
}
stock
:=
gjson
.
Get
(
sku
,
"stock"
)
.
Int
()
stock
:=
gjson
.
Get
(
sku
,
"stock"
)
.
Int
()
data
.
Stock
=
stock
data
.
Stock
=
stock
...
...
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