Commit 106943fa by jianan

【ydlife】-【客户管理】-3

parent 4bd56ef8
......@@ -942,7 +942,7 @@
IF(c.gender = 1,'男','女') gender,
c.birth_date
from
(select distinct t.customer_id,
(select distinct t.customer_id
from ag_acl_policyholder t
where 1 = 1
and t.type = 2
......@@ -965,7 +965,7 @@
from ag_acl_policyholder h
where h.type = 3
and h.order_id in
(select t1.order_id from ag_acl_policyholder t1 where t1.customer_id = 802 and t1.type = 2)
(select t1.order_id from ag_acl_policyholder t1 where t1.customer_id = #{customerId,jdbcType=BIGINT} and t1.type = 2)
) t
left join ag_acl_customer c on t.customer_id = c.id
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment