fix:内勤看所有管辖范围的数据
This commit is contained in:
@@ -376,16 +376,16 @@
|
||||
and (a.investment_manager = #{userId} or a.operations_consultant = #{userId})
|
||||
</if>
|
||||
<if test="request.authRegionIds != null and request.authRegionIds.size() > 0">
|
||||
and a.region_id in
|
||||
and (
|
||||
a.region_id in
|
||||
<foreach collection="request.authRegionIds" item="regionId" index="index" open="(" separator="," close=")">
|
||||
#{regionId}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="request.authInvestRegionIds != null and request.authInvestRegionIds.size() > 0">
|
||||
and a.invest_region_id in
|
||||
<foreach collection="request.authInvestRegionIds" item="investRegionId" index="index" open="(" separator="," close=")">
|
||||
#{investRegionId}
|
||||
or a.invest_region_id in
|
||||
<foreach collection="request.authRegionIds" item="regionId" index="index" open="(" separator="," close=")">
|
||||
#{regionId}
|
||||
</foreach>
|
||||
)
|
||||
</if>
|
||||
order by a.update_time desc
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user