The biofilm was visible significantly at the end of stage 3, and the total relative abundance of resistance genes in biofilm was higher than water from stage 5 onwards. Evolution of AmpC β-lactamase resistance genes was more obvious than MRGs, especially for MOX, which increased by 3 orders of magnitude