From 18131df3886d0e755a9438cd4898667f1b116ddd Mon Sep 17 00:00:00 2001 From: MAC <1162714483@qq.com> Date: Wed, 1 Feb 2023 20:59:29 +0800 Subject: [PATCH] =?UTF-8?q?style(=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96):=20?= =?UTF-8?q?userId=E7=94=B1Long=E7=B1=BB=E5=9E=8B=E6=94=B9=E4=B8=BAString?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/UserFileMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/mapper/UserFileMapper.xml b/src/main/resources/mapper/UserFileMapper.xml index 236cf50..99a38bc 100644 --- a/src/main/resources/mapper/UserFileMapper.xml +++ b/src/main/resources/mapper/UserFileMapper.xml @@ -47,7 +47,7 @@ where (filePath = #{filePath} or filePath like concat(#{filePath},'/%')) and userId = #{userId} and deleteFlag = 0 - SELECT SUM(fileSize) FROM userfile LEFT JOIN file ON file.fileId = userfile.fileId WHERE userfile.userId = #{userId}