huliguo
3 天以前 e7c5c8c6768e018b17a766d7481f13300b7cd5a8
src/main/resources/mapper/keywordMapper.xml
@@ -92,10 +92,8 @@
            <if test="typeId != null">
                AND p.type_id = #{typeId}
            </if>
        GROUP BY
        t.type_id, t.type_name, p.platform_id, p.platform_name
        ORDER BY
        t.type_name, total_repetitions DESC
        r.repetition_num  DESC
    </select>
    <select id="getResultByPlatformId" resultType="com.linghu.model.vo.ResultListVO">
        SELECT
@@ -119,6 +117,7 @@
                AND r.platform_id = #{platformId}
            </if>
        ORDER BY
        r.repetition_num,
        r.create_time DESC
    </select>
</mapper>