lidongdong
2023-09-04 d01f7f2698c586af6454f589331c78cffc2218da
修改社区动态加载不出来
1个文件已修改
4 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActDynDOMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActDynDOMapper.xml
@@ -193,7 +193,7 @@
        <if test="comActDynVO.isOrgHatch == 1">
            AND (cadt.`name` = '社会组织培训' OR cadt.`name` = '社工培训')
        </if>
        GROUP BY d.id ORDER BY d.is_topping DESC, d.create_at DESC
        ORDER BY d.is_topping DESC, d.create_at DESC
    </select>
    <select id="pageDynamicByAdmin" resultType="com.panzhihua.common.model.vos.community.ComActDynVO">
        SELECT d.id, d.title, COUNT(u.id)readNum, d.`status`, d.`content`, d.`cover`, d.`type`, d.`cover_mode`,
@@ -251,6 +251,6 @@
        <if test="comActDynVO.publishAtBegin != null and comActDynVO.publishAtBegin != '' ">
            AND (d.publish_at BETWEEN #{comActDynVO.publishAtBegin} AND #{comActDynVO.publishAtEnd})
        </if>
        group by d.id order by d.is_topping desc, d.create_at desc
        order by d.is_topping desc, d.create_at desc
    </select>
</mapper>