美团力荐修改测试
This commit is contained in:
@@ -3346,7 +3346,6 @@ func UpdateStoreSkusSpecTagBin(ctx *jxcontext.Context, reader io.Reader, vendorI
|
|||||||
results[len(results)-i-1] = tmp
|
results[len(results)-i-1] = tmp
|
||||||
}
|
}
|
||||||
for _, v := range results {
|
for _, v := range results {
|
||||||
fmt.Println(*v)
|
|
||||||
store, err := dao.GetStoreDetail(db, v.StoreID, model.VendorIDMTWM)
|
store, err := dao.GetStoreDetail(db, v.StoreID, model.VendorIDMTWM)
|
||||||
storeSkus, err := dao.GetStoresSkusInfo(db, []int{v.StoreID}, []int{v.SkuID})
|
storeSkus, err := dao.GetStoresSkusInfo(db, []int{v.StoreID}, []int{v.SkuID})
|
||||||
if err != nil || store == nil {
|
if err != nil || store == nil {
|
||||||
@@ -3385,6 +3384,7 @@ func getCellForSpecTag(rowNum int, row []string, storeSkuMap []*tUpdateSkuSpecTa
|
|||||||
)
|
)
|
||||||
for k, cell := range row {
|
for k, cell := range row {
|
||||||
if cell != "" {
|
if cell != "" {
|
||||||
|
fmt.Println(cell)
|
||||||
if k == 0 {
|
if k == 0 {
|
||||||
storeID = int(utils.Str2Int64(cell))
|
storeID = int(utils.Str2Int64(cell))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user