This commit is contained in:
苏尹岚
2021-01-27 13:36:59 +08:00
parent 0226aab316
commit 8ec5e4f3c6
3 changed files with 68 additions and 10 deletions

View File

@@ -2896,6 +2896,6 @@ func ReorderVendorCategories(ctx *jxcontext.Context, parentID, vendorID int, ven
}
}
dao.Commit(db)
_, err = SyncCategories(ctx, nil, []int{model.VendorIDJD}, []string{vendorOrgCode}, categoryIDs, true)
SyncReorderCategories(ctx, parentID, true)
return err
}