Helius
2022-07-05 801957b18d01265e162c9ab5e14c8a5d7c6db389
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>