- 活动同步标志从int改回为int8,所有同步标志都是int8

This commit is contained in:
gazebo
2019-07-17 11:28:56 +08:00
parent 75d3411125
commit 6bb543f544
6 changed files with 19 additions and 16 deletions

View File

@@ -163,7 +163,7 @@ func AdjustPromotionSku(promotionType int, infoId int64, outInfoId string, skus
return skusResult, err
}
func storeSku2Jd(actStoreSku []*model.ActStoreSku2, handler func(syncStatus int) bool) (jdActStoreSku []*jdapi.PromotionSku) {
func storeSku2Jd(actStoreSku []*model.ActStoreSku2, handler func(syncStatus int8) bool) (jdActStoreSku []*jdapi.PromotionSku) {
for _, v := range actStoreSku {
if handler(v.SyncStatus) {
if v.VendorStoreID != "" && v.VendorSkuID != "" {