Merge pull request #9347 from dataease/pr@dev@fix_interface-sql-inject
fix(系统设置): 修复模版查询接口sql注入问题
This commit is contained in:
commit
7d7377781b
@ -80,9 +80,6 @@
|
|||||||
and panel_template.level = #{level}
|
and panel_template.level = #{level}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
<if test="sort != null">
|
|
||||||
order by ${sort}
|
|
||||||
</if>
|
|
||||||
<if test="sort == null">
|
<if test="sort == null">
|
||||||
order by panel_template.create_time desc
|
order by panel_template.create_time desc
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user