manailin
2021-06-20 1390400a03b5088a0a23fc02ee9969ca8b8fef07
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ScreenWorkApi.java
@@ -5,6 +5,7 @@
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@@ -12,6 +13,7 @@
 * @author xyh
 * @date 2021/6/15 15:13
 */
@RestController
@RequestMapping("/screen/work")
public class ScreenWorkApi {
@@ -23,18 +25,68 @@
     * @param communityId
     * @return
     */
    @GetMapping("/screen/work/neighborCircle")
    @GetMapping("/neighborCircle")
    R statisticNeighborCircle(@RequestParam("communityId") Long communityId){
        return screenWorkService.statisticNeighborCircle(communityId);
    }
    /**
     * 大屏统计党建工作
     * 大屏统计心愿单
     * @param communityId
     * @return
     */
//    @GetMapping("/screen/work/neighborCircle")
//    R statisticNeighborCircle(@RequestParam("communityId") Long communityId){
//        return screenWorkService.statisticNeighborCircle(communityId);
//    }
    @GetMapping("/wish")
    R wish(@RequestParam("communityId") Long communityId){
        return screenWorkService.wish(communityId);
    }
    /**
     * 大屏统计社区活动
     * @param communityId
     * @return
     */
    @GetMapping("/activity")
    R activity(@RequestParam("communityId") Long communityId){
        return screenWorkService.activity(communityId);
    }
    /**
     * 大屏统计一起议
     * @param communityId
     * @return
     */
    @GetMapping("/discuss")
    R discuss(@RequestParam("communityId") Long communityId){
        return screenWorkService.discuss(communityId);
    }
    /**
     *  大屏统计党建工作
     * @param communityId
     * @return
     */
    @GetMapping("/pbWork")
    R pbWork(@RequestParam("communityId")Long communityId){
        return screenWorkService.pbWork(communityId);
    }
    /**
     * 大屏统计随手拍
     * @param communityId
     * @return
     */
    @GetMapping("/easyPhoto")
    R easyPhoto(@RequestParam("communityId")Long communityId){
        return screenWorkService.easyPhoto(communityId);
    }
    /**
     * 大屏统计工作情况
     * @param communityId
     * @return
     */
    @GetMapping("/workCount")
    R workCount(@RequestParam("communityId")Long communityId){
        return screenWorkService.workCount(communityId);
    }
}