update 优化数据权限sql 解决MP apply注入附带 AND 语法问题

This commit is contained in:
疯狂的狮子li
2021-05-29 18:41:32 +08:00
parent ead1136e31
commit b7bd67b4cb
4 changed files with 6 additions and 6 deletions

View File

@@ -40,7 +40,7 @@
AND status = #{status}
</if>
<!-- 数据范围过滤 -->
${params.dataScope}
AND ( ${params.dataScope} )
order by d.parent_id, d.order_num
</select>