Inclusion Criteria:
1. Voluntarily sign the informed consent form and comply with protocol requirements;
2. No gender restriction;
3. Age: ≥18 years and ≤75 years;
4. Expected survival time ≥3 months;
5. Pathologically confirmed locally advanced unresectable or metastatic gastric or gastroesophageal junction adenocarcinoma;
6. Patients who have failed prior first-line standard treatment, with evidence of definitive radiological progression;
7. Able to provide archived or fresh tumor tissue;
8. Have radiologically evaluable lesions according to RECIST 1.1 criteria;
9. Eastern Cooperative Oncology Group (ECOG) performance status of 0 or 1;
10. Toxicity from prior antitumor therapy has recovered to ≤Grade 1 as defined by NCI-CTCAE v6.0;
11. No severe cardiac dysfunction, left ventricular ejection fraction ≥50%;
12. Organ function levels must meet the requirements;
13. Urine protein ≤1+ or \<1000 mg/24 h;
14. For premenopausal women of childbearing potential, a pregnancy test must be performed within 7 days before starting treatment; serum pregnancy testing must exclude pregnancy, and the participant must not be breastfeeding; all enrolled trial participants and their partners must agree to use adequate highly effective contraception throughout the entire treatment period and for 7 months (women) and 4 months (men) after treatment completion, and it is recommended that additional contraceptive methods be used concurrently.
Exclusion Criteria:
1. Prior anti-tumor therapy;
2. Positive HER2 expression in tumor tissue;
3. History of severe cardiovascular and cerebrovascular diseases;
4. QT interval prolongation, complete left bundle branch block, third-degree atrioventricular block, frequent and uncontrollable arrhythmias;
5. Any thrombotic event within 6 months before randomization;
6. Active autoimmune diseases and inflammatory diseases;
7. Diagnosis of other malignancies within 3 years before the first dose;
8. Hypertension poorly controlled with two antihypertensive drugs;
9. History of interstitial lung disease (ILD) treated with hormones, etc.;
10. Concurrent pulmonary diseases resulting in clinically severe respiratory impairment;
11. Severe infection, etc. occurring within 4 weeks before the first use of the study drug;
12. Patients with poorly controlled blood glucose;
13. Patients with active central nervous system metastases;
14. Patients with massive serous cavity effusion, or serous cavity effusion with symptoms, or poorly controlled serous cavity effusion;
15. Imaging examinations indicating that the tumor has invaded or encased major vessels in the chest, neck, pharynx, etc.;
16. Patients with a history of allergy to recombinant humanized antibodies or human-mouse chimeric antibodies, or allergy to any excipient component of BL-M05D1;
17. Prior organ transplantation or allogeneic hematopoietic stem cell transplantation;
18. Positive human immunodeficiency virus antibody, active tuberculosis, active hepatitis B virus infection, or active hepatitis C virus infection;
19. Pregnant or breastfeeding women;
20. Esophageal or gastric varices requiring intervention within the past three months, etc.;
21. History of intestinal obstruction, inflammatory bowel disease, or extensive bowel resection, etc.;
22. Patients with other severe physical or laboratory abnormalities or poor compliance, etc., which may increase the risk of participating in the study, or interfere with the study results, and patients deemed unsuitable for participation in this study by the investigator.