mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
@ -9,10 +9,7 @@
|
||||
|
||||
<!-- 根据权限sql查询数据集 20230904 内部写法,调用位置installAuthJdbc,暂不处理sql注入问题-->
|
||||
<select id="queryListWithPermission" parameterType="Object" resultType="org.jeecg.modules.demo.test.entity.JeecgDemo">
|
||||
select * from demo
|
||||
<where>
|
||||
${permissionSql}
|
||||
</where>
|
||||
select * from demo where 1=1 ${permissionSql}
|
||||
</select>
|
||||
|
||||
<!-- 查询所有符合前缀且有效字段 -->
|
||||
|
||||
Reference in New Issue
Block a user