update freight

This commit is contained in:
richboo111
2022-11-02 18:00:16 +08:00
parent 6c6167c25c
commit d638b68060
2 changed files with 3 additions and 0 deletions

View File

@@ -1735,6 +1735,7 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
}
}()
if isStoreMapNeedSync(vendorID, valid) { // 对于store vendor map只有Status改变才需要同步到厂商
globals.SugarLogger.Debug("进入UpdateEntityLogicallyAndUpdateSyncStatus")
num, err = dao.UpdateEntityLogicallyAndUpdateSyncStatus(db, storeMap, valid, userName, map[string]interface{}{
model.FieldStoreID: storeID,
model.FieldVendorID: vendorID,