ITPub博客

首页 > > > 为什么我计算不了表的记录总条数?

为什么我计算不了表的记录总条数?

作者:古月雪 时间:2019-09-26 11:43:57 0 删除 编辑
<!-- 查询当前表有多少条记录 -->
<select id="total" resultType="java.lang.Integer">
 SELECT COUNT(*) FROM t_area

@Override
public int total() throws Exception{

return areaMapper.total();
}


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/3711/viewspace-3157335/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-07-09

  • 博文量
    160
  • 访问量
    1174