The levels of CD3+, CD4+/CD8+, IgA, and IgM in the EN group were higher than those of the PN group at pre-operation and post-operation; the EN group had a significantly lower incidence of poor wound healing, peritoneal cavity infection, pneumonia, and a shorter first bowel sound time, first flatus time, and post-operation hospital stay than the PN group. The gene discussed is CD40LG; the disease is susceptibility to pneumonia measurement.