mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
首页数据权限过滤
This commit is contained in:
@@ -319,9 +319,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
) t4
|
||||
WHERE
|
||||
t1.del_flag = '0'
|
||||
<if test="IndexQueryDTO.stationId != null and IndexQueryDTO.stationId != ''">
|
||||
and t1.station_id = #{IndexQueryDTO.stationId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="IndexQueryDTO.stationId != null and IndexQueryDTO.stationId != ''">
|
||||
and t1.station_id = #{IndexQueryDTO.stationId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<!-- 数据范围过滤 -->
|
||||
<if test="IndexQueryDTO.stationDeptIds != null and IndexQueryDTO.stationDeptIds.size() != 0">
|
||||
and t1.station_id in
|
||||
<foreach collection="IndexQueryDTO.stationDeptIds" item="stationDeptId" open="(" separator="," close=")">
|
||||
#{stationDeptId}
|
||||
</foreach>
|
||||
</if>
|
||||
group by t4.totalMemberAmount
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user