Alex 4 年之前
父節點
當前提交
1e91ce536f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-system/src/main/resources/mapper/app/TbPublishThumbsMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/app/TbPublishThumbsMapper.xml

@@ -16,7 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <select id="selectAll" resultType="com.ruoyi.app.domain.TbPublishThumbs">
-        select t.*,(select nick_name from tb_app_user u where u.id = t.create_by) appUserName
+        select t.*,(select nick_name from tb_app_user u where u.id = t.app_user_id) appUserName
         from tb_publish_thumbs t ${ew.customSqlSegment}
     </select>
 </mapper>