This commit is contained in:
EightMonth
2024-04-03 11:18:47 +08:00
parent 5a09a6fb4a
commit 6edef14f07
5 changed files with 57 additions and 54 deletions

View File

@ -9,7 +9,10 @@
<!-- 根据权限sql查询数据集 20230904 内部写法调用位置installAuthJdbc暂不处理sql注入问题-->
<select id="queryListWithPermission" parameterType="Object" resultType="org.jeecg.modules.demo.test.entity.JeecgDemo">
select * from demo where 1=1 ${permissionSql}
select * from demo
<where>
${permissionSql}
</where>
</select>
<!-- 查询所有符合前缀且有效字段 -->