Extension of Bethe ansatz to multiple occupancies for one-dimensional SU(4) fermions with δ-function interaction