The study is being conducted to evaluate the efficacy and safety of HS-20094 once weekly (QW) in subjects with type 2 diabetes mellitus not adequately controlled with metformin monotherapy or in combination with SGLT2 inhibitors compared to Dulaglutide QW for 44 weeks and 52 weeks.