diff --git a/stdiet-custom/src/main/resources/mapper/custom/SysServicesTopicMapper.xml b/stdiet-custom/src/main/resources/mapper/custom/SysServicesTopicMapper.xml index bfbd1d630..4afeb6edb 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}