@@ -32,7 +32,7 @@
on
p.region_id = r.id
where
- plr.mt_company_id = #{mtCompanyId}
+ pclr.mt_company_id = #{mtCompanyId} and r.mt_company_id = pclr.mt_company_id
<if test = "startTimeDateStr != null and startTimeDateStr != ''">
and (
pclr.create_date <![CDATA[ >= ]]> #{startTimeDateStr}