刷新物料库存测试
This commit is contained in:
@@ -3981,7 +3981,7 @@ func RefreshMatterStock(ctx *jxcontext.Context, skuID int) (err error) {
|
||||
continue
|
||||
}
|
||||
var isSale = 0
|
||||
if utils.Str2Int64(result.Data[0].StockNum) > 0 {
|
||||
if utils.Str2Int64(v.StockNum) > 0 {
|
||||
isSale = 1
|
||||
} else {
|
||||
isSale = -1
|
||||
|
||||
Reference in New Issue
Block a user