Inclusion Criteria:  Age ≥ 18 years;  Patients must have a histologically or cytologically confirmed diagnosis of relapsed or refractory solid tumors or non-Hodgkin lymphomas (NHLs), with the following criteria specific to each tumor type:  For solid tumors: Patients must have advanced triple-negative breast cancer (TNBC), non-small cell lung cancer (NSCLC), adenoid cystic carcinoma (ACC), prostate cancer (PC), or head and neck squamous cell carcinoma (HNSCC). The malignancy must be relapsed or refractory after at least 1 prior line of anti-tumor therapy, and for which there are no available standard of care therapy or therapies known to provide clinical benefit; For NHLs: Patients must have mantle cell lymphoma (MCL), or non-germinal center B-cell-like (non-GCB) subtypes of diffuse large B-cell lymphoma (DLBCL) (both de novo and transformed non-GCB DLBCL are allowed). The malignancy must be relapsed or refractory after at least 2 prior lines of anti-tumor therapy, and for which there are no available standard of care therapy or therapies known to provide clinical benefit. The patients who require urgent cytoreductive therapy will be excluded, unless the patient has no remaining treatment choice with potential benefits.  Patients must provide archival tumor tissue, if available, from the most recent biopsy, or are able to undergo a tumor biopsy during screening; At least one evaluable or measurable tumor lesion; Eastern Cooperative Oncology Group (ECOG) Performance Status of 0 to 1; Life expectancy ≥3 months; Adequate hematological and biological function, confirmed by the following laboratory values (Have not received blood transfusion or hematopoietic stimulating factor treatment within 14 days):APTT ≤1.0×ULN; Total bilirubin (TBIL) ≤1.5×ULN if no demonstrable liver lesion(s) (primary or metastases) or ≤3×ULN in the presence of documented Gilbert's Syndrome (unconjugated hyperbilirubinemia) or liver lesion(s); Alanine aminotransferase (ALT) and aspartate aminotransferase (AST) ≤2.5×ULN if no demonstrable liver lesion(s) (primary or metastases) or ≤5×ULN in the presence of liver lesion(s); Creatinine clearance ≥50mL/min (Calculated according to Cockcroft-Gault formula); Left ventricular ejection fraction (LVEF) ≥50%; QT interval corrected using Fridericia's method (QTcF)<470 msec; For advanced solid tumors patients: ANC ≥1.5×109/L, PLT ≥100×109/L, Hemoglobin (Hb) ≥90 g/L; For advanced non-Hodgkin lymphoma patients: ANC ≥ 1.0×109/L, PLT ≥ 80×109/L, Hemoglobin (Hb) ≥80 g/L; Women of child bearing potential must agree to use a reliable form of contraception during the study treatment period and for at least 180 days following the last dose of study drug, and 3 days before treatment the pregnancy tests are negative. Men must agree to the use of male contraception during the study treatment period and for at least 180 days after the last dose of study drug; Not using any other investigational drugs within 30 days before the study drugs administration; Be informed of the trial before the start of the trial, and voluntarily sign the name and date on the informed consent form.  Exclusion Criteria:  Prior treatment with PRMT5 inhibitors; Anticancer treatment including radiation therapy, chemotherapy, hormonal therapy, molecular targeted therapy, or immunotherapy within 3 weeks before the first dose of SH3765 (use of mitomycin or nitrosoureas within 6 weeks before the first dose; use of oral fluorouracil, such as tegafur and capecitabine, within 2 weeks before the first dose; use herbal medicine with anti-tumor indications within 2 weeks before the first dose); Evidence of central nervous system (CNS) metastases; Evidence of any severe or uncontrolled systemic diseases, including uncontrolled hypertension, active bleeding diatheses, uncontrolled pleural effusion and ascites, uncontrolled diabetes, non-infectious pneumonia, or any other severe cardiovascular, respiratory, nervous and mental diseases; Have severe cardiac disease:NYHA class ≥grade II heart failure; arrhythmia requiring medical treatment; myocardial infarction or unstable angina pectoris within 6 months; currently taking known QT extension drugs those who cannot stop the drug for at least 5 half-lives before starting the study drug treatment； Patients who have active infection within 1 week before the first administration and need systematic anti-infection treatment; Active infection with hepatitis B virus (HBV), hepatitis C virus (HCV) or human immunodeficiency virus (HIV). Patients with HBsAg positive but HBV-DNA negative, or with HCV antibody positive but HCV-RNA negative, or with HIV antibody positive but HIV-RNA negative and CD4+ T cell count normal will be inclusive; Patients who received systemic glucocorticoids (prednisone >10 mg/ day or equivalent dose of the same drug) or other immunosuppressive therapy within 14 days before the first administration; except for topical, ocular, intra-articular, intranasal, and inhaled glucocorticoids; short-term use of glucocorticoids for prophylactic treatment (e.g., prevention of contrast agent allergy); The patient is currently using (or cannot stop at least 1 week prior to the first administration of the study drug) a drug known to be a strong inhibitor or inducer of CYP3A4 and inhibitor of P-gp; Patients who received granulocyte colony stimulating factor (G-CSF) or blood transfusion therapy within 7 days before the hematologic examination at the screening stage; Autologous hematopoietic stem cell transplantation was performed within 90 days prior to the start of the study; Previous recipients of allogeneic hematopoietic stem cell transplantation or organ transplantation; According to CTCAE 5.0, adverse reactions from previous anti-tumor therapy have not yet returned to ≤ grade 1 (except for toxicities which are judged by researchers to be safe, such as hair loss)； Had major organ surgery (excluding puncture biopsy) or had significant trauma within 4 weeks before the first administration, or needed to undergo surgery during the trial period; Uncontrolled nausea and vomiting, chronic gastrointestinal disease, inability to swallow pharmaceutical preparations, extensive enterectomy and possible impairment of adequate absorption of study drugs; According to CTCAE 5.0, experiencing any CTCAE grade 3 or 4 gastrointestinal bleeding in the 3 months prior to enrollment; Allergic to the similar drug or its excipients; Lactating women; The investigator determined that the patient should not participate in the study.