| | |
| | | import com.panzhihua.common.model.vos.grid.EventGridDataDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridDataVO; |
| | | import com.panzhihua.service_grid.service.EventGridDataService; |
| | | import com.panzhihua.service_grid.service.LcCompareCodeService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | |
| | | @Resource |
| | | private EventGridDataService eventGridDataService; |
| | | @Resource |
| | | private LcCompareCodeService lcCompareCodeService; |
| | | |
| | | |
| | | /** |
| | |
| | | * @return 网格员列表 |
| | | */ |
| | | @PostMapping("/member/list") |
| | | public R getGridMemberLists(@RequestParam("communityId") Long communityId){ |
| | | public R getGridMemberLists(@RequestParam(value = "communityId",required = false) Long communityId){ |
| | | return eventGridDataService.getGridMemberLists(communityId); |
| | | } |
| | | |
| | |
| | | public R deleteGridDataByAdmin(@RequestBody List<Long> Ids){ |
| | | return eventGridDataService.deleteGridDataByAdmin(Ids); |
| | | } |
| | | |
| | | /** |
| | | * 综治后台-查询所有市平台网格列表 |
| | | * @return 市平台网格列表 |
| | | */ |
| | | @GetMapping("/lc/list") |
| | | public R getLcGridLists(){ |
| | | return lcCompareCodeService.getLcGridLists(); |
| | | } |
| | | |
| | | |
| | | } |