diff --git a/resources/mybatis/index/IndexHomeDetailsMapper.xml b/resources/mybatis/index/IndexHomeDetailsMapper.xml index afc6587..428d26e 100644 --- a/resources/mybatis/index/IndexHomeDetailsMapper.xml +++ b/resources/mybatis/index/IndexHomeDetailsMapper.xml @@ -272,6 +272,9 @@ and mat2.`NAME` like concat ('%',#{maType},'%') + + and rs.isCount = #{isCount} + GROUP BY rs.typeId @@ -1457,7 +1460,7 @@ and tpd.`NAME` like concat('%', #{maName}, '%') - select mt2.NAME as maType, mt.NAME as maName, wir.CODE as maCode, @@ -1468,7 +1471,7 @@ left join mm_type mt2 on mt.PARENT_ID = mt2.ID where wir.TYPE = #{type} - select mt2.NAME as maType, mt.NAME as maName, mt.UNIT as maUnit,