From d5c3c2faf329dced5c28c85eb4750dcc9af1a4a3 Mon Sep 17 00:00:00 2001 From: iyak Date: Mon, 22 Sep 2025 05:20:51 +0000 Subject: [PATCH] =?UTF-8?q?7341.=20=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EC=B0=BE=EA=B8=B0=20=EC=88=98=EC=A0=95=20users.findme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dao/MyBatis/Maps/User.xml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/Dao/MyBatis/Maps/User.xml b/Dao/MyBatis/Maps/User.xml index 7cc198a..7de591f 100644 --- a/Dao/MyBatis/Maps/User.xml +++ b/Dao/MyBatis/Maps/User.xml @@ -715,19 +715,23 @@ update users set asno=#asno# where userno=#userno# - + SELECT a.userno,a.username + ,a.userid + ,CAST(AES_DECRYPT(UNHEX(a.mobile), ) AS char) mobile + ,CAST(AES_DECRYPT(UNHEX(a.email), ) AS char) email + FROM users a + WHERE a.usertype IN (1,11) + + + AND a.email=HEX(AES_ENCRYPT(#email#, )) + AND (a.STATUS = 1 OR a.STATUS = 9) + - and a.mobile=HEX(AES_ENCRYPT(#mobile#, )) - + AND a.mobile=HEX(AES_ENCRYPT(#mobile#, )) + AND a.STATUS = 1 +