Merge pull request #2020 from xinnan-tech/hot-fix

fix: #2014  Invalid bound statement (not found)
This commit is contained in:
欣南科技
2025-08-11 21:27:07 +08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -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>
<!-- 获取参数编码列表 -->