- add param valueMask to UpdateEntityLogicallyAndUpdateSyncStatus

- judge change content in UpdateSku
- support change sku spec
This commit is contained in:
gazebo
2019-01-31 09:46:23 +08:00
parent a0cecdc4c6
commit d420aa68fe
6 changed files with 25 additions and 15 deletions

View File

@@ -547,7 +547,7 @@ func (p *PurchaseHandler) processLocalCatByRemote(db *dao.DaoDB, storeID int, lo
} else { // 远程有本门店有但ID信息不一致
_, err = dao.UpdateEntityLogicallyAndUpdateSyncStatus(db, &jxCat.StoreSkuCategoryMap, map[string]interface{}{
model.FieldEbaiID: v.CategoryID,
}, userName, nil, model.FieldEbaiSyncStatus)
}, userName, nil, model.FieldEbaiSyncStatus, model.SyncFlagModifiedMask)
}
} else { // 两边都有,且信息一致
}