updateStoresSkusWithoutSync中
关注商品时,如果有删除的相应门店商品,使用恢复删除(而不是新建) 需要处理,在删除某个门店商品,同步失败的情况下,又把商品重新关注。 所以统一处理成恢复删除的记录,这样避免问题
This commit is contained in:
@@ -23,3 +23,8 @@ func TestGetStoreSkus(t *testing.T) {
|
||||
}
|
||||
globals.SugarLogger.Debug(utils.Format4Output(skuList, false))
|
||||
}
|
||||
|
||||
func TestGetDeletedStoreSkuBind(t *testing.T) {
|
||||
storeSkuBind := GetDeletedStoreSkuBind(GetDB(), 100123, 30648)
|
||||
globals.SugarLogger.Debug(utils.Format4Output(storeSkuBind, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user