Helius
2022-07-05 121b0c399ab5fadd9cb3a46509d68fe1ba476c95
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>