|
|
|
@ -115,7 +115,7 @@
|
|
|
|
|
|
|
|
|
|
<!--店铺ids→零售公司信息-->
|
|
|
|
|
<select id="selectOrgInfoByShopIds" resultType="com.kiisoo.ic.customer.entity.CustomerViewZeroExtendVO">
|
|
|
|
|
select t1.id as orgId,t1.`name` as customer, t3.entity_id as shopId, t4.name as shopName, t4.code as shopCode, t1.parent_id as parentId
|
|
|
|
|
select t1.id as customerId,t1.`name` as customer, t3.entity_id as shopId, t4.name as shopName, t4.code as shopCode, t1.parent_id as parentId
|
|
|
|
|
from privilage_organizational t1, privilage_organizational_domain t2, privilage_domain_entity t3, poi_store t4
|
|
|
|
|
where t1.id = t2.org_id
|
|
|
|
|
and t2.domain_id = t3.domain_id
|
|
|
|
|