mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 权限
This commit is contained in:
@@ -171,7 +171,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</foreach>
|
||||
</if>
|
||||
<!-- 数据范围过滤 -->
|
||||
${dto.params.dataScope}
|
||||
<if test="dto.merchantDeptIds != null and dto.merchantDeptIds.size() != 0">
|
||||
and t2.dept_id in
|
||||
<foreach collection="dto.merchantDeptIds" item="merchantDeptId" open="(" separator="," close=")">
|
||||
#{merchantDeptId}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="dto.stationDeptIds != null and dto.stationDeptIds.size() != 0">
|
||||
and t3.dept_id in
|
||||
<foreach collection="dto.stationDeptIds" item="stationDeptId" open="(" separator="," close=")">
|
||||
#{stationDeptId}
|
||||
</foreach>
|
||||
</if>
|
||||
group by t1.id
|
||||
order by t1.sn
|
||||
</select>
|
||||
|
||||
@@ -76,7 +76,12 @@
|
||||
and logo_url = #{logoUrl}
|
||||
</if>
|
||||
<!-- 数据范围过滤 -->
|
||||
${params.dataScope}
|
||||
<if test="merchantDeptIds != null and merchantDeptIds.size() != 0">
|
||||
and dept_id in
|
||||
<foreach collection="merchantDeptIds" item="merchantDeptId" open="(" separator="," close=")">
|
||||
#{merchantDeptId}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user