These disorders are different but similar. I guess it’s possible to have both but here are some comparisons:
If you have OCB you are more likely to be hung up about certain rituals that you do over and over. Washing hands several times a day.
If you have OCPD you are more likely to be concerned about perfection and accepting nothing other but your not obsessed like OCB. Unable to complete certain assignments because you don’t feel it’s ever good enough, would be an example.
Hope that helps clarify.