huanghongfa
2021-01-28 74523006ddd9ee53c7042950de71ee73dac57957
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActEasyPhotoDAO.java
@@ -163,30 +163,23 @@
            "WHERE p.id=#{id}")
    ComActEasyPhotoVO detailEasyPhoto(Long id);
    @Select("SELECT\n" +
            "'随手拍' FUNCTION,\n" +
            "'待审核' behavior,\n" +
            "'新增随手拍动态待审核' words \n" +
            "'1' type\n" +
            "FROM\n" +
            "com_act_easy_photo p \n" +
            "WHERE\n" +
            "p.community_id = #{communityId} \n" +
            "AND p.STATUS = 1 \n" +
            "GROUP BY\n" +
            "p.community_id\n" +
            "AND p.STATUS = 1 \n"+
            "\n" +
            "union all \n" +
            "\n" +
            "SELECT\n" +
            "'随手拍' FUNCTION,\n" +
            "'需要进行反馈' behavior,\n" +
            "'随手拍有待反馈动态' words \n" +
            "'1' type\n" +
            "FROM\n" +
            "com_act_easy_photo p \n" +
            "WHERE\n" +
            "p.community_id = #{communityId} \n" +
            "AND p.`status` = 2 and p.is_need_feed_back=1 and p.handler_id=#{userId}\n" +
            "GROUP BY\n" +
            "p.community_id")
            "AND p.`status` = 2 and p.is_need_feed_back=1 and p.handler_id=#{userId}\n"
            )
    List<TodoEventsVO> selectNeedToDo(@Param("communityId") Long communityId, @Param("userId") Long userId);
    @Select("<script> " +