xiaoyong931011
2022-07-05 9035f78fbcd60c452b5e37e5687813c35e9c4ff2
src/main/resources/mapper/ArticleMapper.xml
@@ -47,4 +47,10 @@
        </if>
        limit 1
    </select>
    <select id="selectArticleById" resultType="com.xcong.farmer.cms.modules.system.entity.ArticleEntity">
        select a.*, b.column_code, b.column_name
        from t_article a, t_column b
        where a.column_id=b.id and a.id=#{id}
    </select>
</mapper>