inleft
2022-08-04 eaf26c265f8882b2e100428d942ac377330cc114
snowy-main/src/main/java/vip/xiaonuo/modular/blogarticletype/mapper/mapping/BlogArticleTypeMapper.xml
@@ -2,13 +2,13 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="vip.xiaonuo.modular.blogarticletype.mapper.BlogArticleTypeMapper">
    <select id="listCount" resultType="vip.xiaonuo.modular.blogarticletype.param.BlogArticleTypeVo">
    <select id="listCount" resultType="vip.xiaonuo.modular.blogarticletype.entity.BlogArticleTypeVo">
      SELECT
         t1.id,
         t1.type_name AS typeName,
         t2.count
      FROM
         blog_article_type t1,
         blog_article_type t1 left join
         (
            SELECT
               t.id,
@@ -24,7 +24,7 @@
            GROUP BY
               t.id
         ) t2
      WHERE
      on
         t1.id = t2.id
      ORDER BY
         t1.top_value ASC,