|
@@ -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>
|