From e452f5a90442a7978864e9a2e029ca484882840b Mon Sep 17 00:00:00 2001 From: huangdeliang Date: Sat, 5 Jun 2021 15:38:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E8=80=85=E8=A7=86=E8=A7=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/custom/SysServicesTopicMapper.xml | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/stdiet-custom/src/main/resources/mapper/custom/SysServicesTopicMapper.xml b/stdiet-custom/src/main/resources/mapper/custom/SysServicesTopicMapper.xml index bfbd1d630..11075cdef 100644 --- a/stdiet-custom/src/main/resources/mapper/custom/SysServicesTopicMapper.xml +++ b/stdiet-custom/src/main/resources/mapper/custom/SysServicesTopicMapper.xml @@ -22,11 +22,22 @@ @@ -56,7 +67,7 @@ - + @@ -76,7 +87,7 @@ - + @@ -115,7 +126,8 @@ select avatar_url from sys_wx_user_info where cus_id = #{uid} - select IF(avatar != '', CONCAT("https://api.stdiet.top/prod-api", avatar), '') as avatar from sys_user where user_id = #{uid} + select IF(avatar != '', CONCAT("https://api.stdiet.top/prod-api", avatar), '') as avatar from sys_user + where user_id = #{uid}