免运BUG修复

This commit is contained in:
gazebo
2019-10-15 15:39:40 +08:00
parent 5a7ac24c3c
commit 7b5b2e0dc4
2 changed files with 8 additions and 1 deletions

View File

@@ -979,7 +979,7 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
}
}
dao.Commit(db)
if valid["status"] != nil {
if valid["status"] != nil || valid["freightDeductionPack"] != nil {
_, err = CurVendorSync.SyncStore(ctx, db, vendorID, storeID, false, userName)
}
}