This commit is contained in:
suyl
2021-05-26 15:13:04 +08:00
parent 99d0f32a7e
commit f7e824b88c

View File

@@ -362,7 +362,7 @@ func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
_, err = dao.UpdateEntity(db, storeMap, "VendorStoreID")
}
}
if storeDetail.SyncStatus&(model.SyncFlagNewMask|model.SyncFlagStoreStatus) != 0 {
if storeDetail.SyncStatus&model.SyncFlagStoreStatus != 0 {
mergedStoreStatus := jxutils.MergeStoreStatus(storeDetail.Status, storeDetail.VendorStatus)
p.UpdateStoreStatus(jxcontext.AdminCtx, storeDetail.VendorOrgCode, storeID, storeDetail.VendorStoreID, mergedStoreStatus)
}