| | |
| | | package com.panzhihua.grid_app.api; |
| | | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.ComMapGridDetailVO; |
| | | import com.panzhihua.common.service.grid.GridService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | 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; |
| | | |
| | | @RestController |
| | | @RequestMapping("/statistics/") |
| | | @Api(tags = {"网格综治APP统计模块@lyq"}) |
| | | public class StatisticsApi extends BaseController { |
| | | |
| | | @Resource |
| | | private GridService gridService; |
| | | |
| | | @ApiOperation(value = "根据网格id查询统计详情-lyq",response = ComMapGridDetailVO.class) |
| | | @PostMapping("event") |
| | | public R getGridDetail(@RequestParam("gridId") Long gridId){ |
| | | if(gridId == null){ |
| | | return R.fail("参数错误"); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | |
| | | } |