报错语句:
<sql id="selectArticleVo">
select article_id,
title, -- 标题
summary, -- 简介
content, -- 内容
author -- 作者
from t_article
</sql>
报错原因:
在mybatis里不能使用 --
注释。删除即可
报错语句:
<sql id="selectArticleVo">
select article_id,
title, -- 标题
summary, -- 简介
content, -- 内容
author -- 作者
from t_article
</sql>
报错原因:
在mybatis里不能使用 --
注释。删除即可