优化sql语句

master
chen 4 years ago
parent 6e91b0f2c7
commit c1a16d9f73
  1. 2
      dq-financial-guarantee/src/main/resources/mapper/guarantee/DgCopyUserMapper.xml

@ -34,7 +34,7 @@
cf.pic_url
FROM
dg_copy_user cu
LEFT JOIN dg_copy_for cf ON cu.copy_id = cf.id
JOIN dg_copy_for cf ON cu.copy_id = cf.id
LEFT JOIN dg_apply_amount_info aai ON cf.business_id = aai.id
LEFT JOIN crms_company_customer ccc ON aai.company_id = ccc.id
LEFT JOIN crms_customer cc ON ccc.customer_id = cc.id

Loading…
Cancel
Save