From 512b0cc8f5606f08b93afb154f0cffd92b93cac8 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期五, 12 五月 2023 14:03:41 +0800 Subject: [PATCH] Merge pull request #847 from xu-bin-bin/wvp-28181-2.0 --- src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java index fe72a7d..ecaa165 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java @@ -50,7 +50,7 @@ @ResultMap(value="roleMap") List<User> selectAll(); - @Select("select * from (select user.*, concat(#{callId}_', pushKey) as str1 from user) as u where md5(u.str1) = #{sign}") + @Select("select * from (select user.*, concat(concat(#{callId}, '_'), pushKey) as str1 from user) as u where md5(u.str1) = #{sign}") List<User> checkPushAuthorityByCallIdAndSign(String callId, String sign); @Select("select * from user where md5(pushKey) = #{sign}") -- Gitblit v1.8.0