SELECT c.transfer_amount FROM pdf_inf a LEFT JOIN pdf_grantor_pgor_infos b ON a.uuid = b.pdf_id AND b.sys_status = 1 LEFT JOIN pdf_dne c ON b.uuid = c.biz_id AND c.sys_status = 1 WHERE ( REPLACE ( REPLACE ( b.grantor_pledgor_name, '(', '(' ), ')', ')' ) LIKE '%大家(成都)有限公司%' OR REPLACE ( REPLACE ( b.grantor_pledgor_name, '(', '(' ), ')', ')' ) LIKE '%大家(成都)有限公司%' ) AND a.sys_status = 1
AND (replace(replace(b.grantor_pledgor_name,'(','('),')',')') like ? or replace(replace(b.grantor_pledgor_name,'(','('),')',')') like ?)
解決 全角半角問題 可直接在 sql 層面 處理,如果 是多個的話,則 循環 一個一個進行匹配