diff --git a/resources/mybatis/index/IndexHomeDetailsMapper.xml b/resources/mybatis/index/IndexHomeDetailsMapper.xml index 03f7af0..c7a1580 100644 --- a/resources/mybatis/index/IndexHomeDetailsMapper.xml +++ b/resources/mybatis/index/IndexHomeDetailsMapper.xml @@ -272,9 +272,7 @@ and mat2.`NAME` like concat ('%',#{maType},'%') - - and rs.isCount = #{isCount} - + GROUP BY rs.typeId ) a WHERE @@ -287,6 +285,9 @@ mt.`LEVEL` = 4 AND mt.IS_ACTIVE = 1 ) + + and a.isCount = #{isCount} +