lidongdong
2023-09-01 0c8807d7017a402a843fec0451e37335c86d816d
修改杨家坪社区问题
2个文件已修改
4 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComEventMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java
@@ -177,7 +177,7 @@
        LoginUserInfoVO loginUserInfo1 = this.getLoginUserInfo();
        loginUserInfo1.setType(userService.detailUser(loginUserInfo.getUserId()).getData().getType());
        loginUserInfo1.setType(loginUserInfo.getType());
        return comEventService.pageByComEvent(comEvent, pagination,loginUserInfo);
        return comEventService.pageByComEvent(comEvent, pagination,loginUserInfo1);
    }
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComEventMapper.xml
@@ -169,7 +169,7 @@
        order by create_at desc
    </select>
    <select id="listEventIds" resultType="java.lang.Long">
        select event_id from com_sanshuo_expert_event where expert_id=#{expertId} and status=0 or status=1
        select event_id from com_sanshuo_expert_event where expert_id=#{expertId} and (status=0 or status=1)
    </select>
    <select id="listByComEvent" resultType="com.panzhihua.service_community.entity.ComEvent">
        SELECT <include refid="columns" />