Standing all day can be hard on your spine. Your disks can get a little compressed. Pain from spinal nerves can cause pain in your legs.
Good shoes, good posture, proper bending can help. Strengthening you core muscles can help support your back, too.
Take a brisk walk after work to get the blood flowing in your back muscles and disks.