storedetail
This commit is contained in:
@@ -219,7 +219,7 @@ func ActStoreSkuParam2Model(ctx *jxcontext.Context, db *dao.DaoDB, act *model.Ac
|
||||
validVendorMap := make(map[int]int)
|
||||
validSkuMap := make(map[int]int)
|
||||
for _, vendorID := range vendorIDs {
|
||||
storeDetail, err2 := dao.GetStoreDetail(db, storeID, vendorID)
|
||||
storeDetail, err2 := dao.GetStoreDetail(db, storeID, vendorID, "")
|
||||
if err = err2; err == nil {
|
||||
if storeDetail.IsSync != 0 {
|
||||
if act.Type == model.ActSkuFake ||
|
||||
@@ -1231,7 +1231,7 @@ func ForceUpdateVendorPrice(ctx *jxcontext.Context, vendorID int, actType int, s
|
||||
for _, storeSkuBind := range storeSkuBindList {
|
||||
if _, err2 := dao.UpdateEntity(db, storeSkuBind); err2 == nil {
|
||||
if storeVendorIDMap[storeSkuBind.StoreID] == "" {
|
||||
if storeDetail, err2 := dao.GetStoreDetail(db, storeSkuBind.StoreID, vendorID); err2 == nil {
|
||||
if storeDetail, err2 := dao.GetStoreDetail(db, storeSkuBind.StoreID, vendorID, ""); err2 == nil {
|
||||
storeVendorIDMap[storeSkuBind.StoreID] = storeDetail.VendorStoreID
|
||||
}
|
||||
}
|
||||
@@ -1682,5 +1682,3 @@ func checkPriceDefendOrderByPrice(db *dao.DaoDB, storeID, skuID, stock, jxPrice
|
||||
}
|
||||
return stock
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user