| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenDiscussListDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.service_community.service.ComActDiscussService; |
| | | import com.panzhihua.service_community.service.ScreenWorkService; |
| | | 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 org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | |
| | | |
| | | @Resource |
| | | private ScreenWorkService screenWorkService; |
| | | @Resource |
| | | private ComActDiscussService comActDiscussService; |
| | | |
| | | /** |
| | | * |
| | |
| | | R workCount(@RequestParam("communityId")Long communityId){ |
| | | return screenWorkService.workCount(communityId); |
| | | } |
| | | |
| | | /** |
| | | * 工作大屏-一起议列表 |
| | | * @param discussListDTO 请求参数 |
| | | * @return 一起议列表 |
| | | */ |
| | | @PostMapping("/getScreenDiscussList") |
| | | public R getScreenDiscussList(@RequestBody ScreenDiscussListDTO discussListDTO) { |
| | | return R.ok(comActDiscussService.getScreenDiscussList(discussListDTO)); |
| | | } |
| | | } |