- 适配新平台API对于门店商品操作部分失败时返回详情的改动(没有实现处理)

This commit is contained in:
gazebo
2019-07-21 16:20:23 +08:00
parent 16292174d1
commit 4492f9990f
8 changed files with 78 additions and 69 deletions

View File

@@ -328,7 +328,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, isFull bo
case 1:
if len(createList) > 0 {
_, err = putils.FreeBatchStoreSkuSyncInfo(func(batchedStoreSkuList []*dao.StoreSkuSyncInfo) (result interface{}, err error) {
globals.SugarLogger.Debug(utils.Format4Output(batchedStoreSkuList, false))
if err = singleStoreHandler.CreateStoreSkus(ctx, storeID, vendorStoreID, batchedStoreSkuList); err == nil {
_, err = updateStoreSku(dao.GetDB(), vendorID, batchedStoreSkuList, model.SyncFlagNewMask)
}