同步错误返回

This commit is contained in:
苏尹岚
2019-12-04 11:56:02 +08:00
parent ecb9b79ec6
commit 16a14e8b4d
5 changed files with 54 additions and 62 deletions

View File

@@ -485,7 +485,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, isFull bo
updateList = append(updateList, calVendorPrice4StoreSku(batchedStoreSkuList[0], storeDetail.PricePercentagePackObj, int(storeDetail.PricePercentage)))
err = nil
} else {
failedList = append(failedList, putils.GetErrMsg2FailedSyncSingleList(batchedStoreSkuList, err2)...)
failedList = append(failedList, putils.GetErrMsg2FailedSingleList(batchedStoreSkuList, err2)...)
}
if len(failedList) > 0 {
task.AddErrMsg(failedList)