Yes, it affects all troops in the generals army.
If you click on the general and open up the interface, you can hover over each of the different troops and it shows the accuracy on the right. (On the left is a heart with HP, right is a blue circle/symbol with a percentage next to it, also in blue. If the general does not have master planner, then it's not in blue.)