Comparison of postoperative variables showed that, compared with the uninfected group, the bacterial infection group showed statistically significant differences in the postoperative ICU stay, postoperative ventilation time, biliary complications, CRRT, reoperation, ALB, HB, ALT, SCr, PT, NLR, and PNI levels (p < 0.05). This evidence concerns the gene ALB and bacterial infectious disease.