Another officer arrived on scene shortly after, and the gunman was shot at 3:48 p.m. The authorities did not publicly identify the man, who was taken to a hospital and was in surgery on Saturday night.
Lieutenant Borden said the sheriff’s office had not yet identified a motive for the shooting. She said the authorities had not determined whether the Walmart shooting was connected to one earlier in the day in Shingleton, Calif., in which three people were killed.
A Walmart employee, Scott Thammakhanty, told The Record Searchlight, a newspaper in Redding, Calif., that he had heard gunshots and had seen people on the ground as he and other employees ran. He said that the gunman looked familiar but that he did not know his identity.
A number of employees barricaded themselves in the back of the distribution center, according to police radio transmissions at the time.
Scott Pope, a Walmart spokesman, said the company was deeply saddened by the incident.
“Our focus is on supporting our associates, as well as their families and co-workers in the facility,” he said in a statement. “This is an active police investigation and we will continue to work with Tehama County Sheriff’s Office and assist in their investigation in any way possible.”
Lacie Miller, the 37-year-old assistant manager of a nearby convenience store, said employees who had gathered outside of the building said that the vehicle crash had caused a fire at the distribution center.
This is the second workplace-related shooting in two days to result in multiple deaths.
Two workers at a coffee dispenser warehouse in Springfield, Ill., were fatally shot on Friday after a co-worker opened fire, the authorities said. Another worker was critically wounded. The gunman fled and was found in his vehicle more than two hours later, dead of a self-inflicted gunshot wound, the authorities said.