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 层面 处理,如果 是多个的话,则 循环 一个一个进行匹配
|