mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-22 07:03:53 +08:00
Merge pull request #2020 from xinnan-tech/hot-fix
fix: #2014 Invalid bound statement (not found)
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
<mapper namespace="xiaozhi.modules.security.dao.SysUserTokenDao">
|
||||
|
||||
<select id="getByToken" resultType="xiaozhi.modules.security.entity.SysUserTokenEntity">
|
||||
select * from sys_user_token where token = #{value}
|
||||
select * from sys_user_token where token = #{token}
|
||||
</select>
|
||||
|
||||
<select id="getByUserId" resultType="xiaozhi.modules.security.entity.SysUserTokenEntity">
|
||||
select * from sys_user_token where user_id = #{value}
|
||||
select * from sys_user_token where user_id = #{userId}
|
||||
</select>
|
||||
|
||||
<update id="logout">
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<!-- 根据参数编码,查询value -->
|
||||
<select id="getValueByCode" resultType="String">
|
||||
select param_value from sys_params where param_code = #{value}
|
||||
select param_value from sys_params where param_code = #{paramCode}
|
||||
</select>
|
||||
|
||||
<!-- 获取参数编码列表 -->
|
||||
|
||||
Reference in New Issue
Block a user