| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberRelationDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberRelationDTO; |
| | | import com.panzhihua.common.model.dtos.grid.admin.EventGridMemberCascadeAddDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberRelationDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberRelationVO; |
| | | import com.panzhihua.service_grid.service.EventGridMemberRelationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import com.panzhihua.common.model.dtos.grid.admin.EventGridMemberCascadeAddDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.service_grid.service.EventGridMemberRelationService; |
| | | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | |
| | | /** |
| | | * |
| | |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/eventgridmemberrelation") |
| | | public class EventGridMemberRelationApi{ |
| | | public class EventGridMemberRelationApi { |
| | | |
| | | @Resource |
| | | private EventGridMemberRelationService eventGridMemberRelationService; |
| | | |
| | | /** |
| | | * 查询市平台网格员列表 |
| | | * @return 市平台网格员列表 |
| | | * |
| | | * @return 市平台网格员列表 |
| | | */ |
| | | @GetMapping("/lc/list") |
| | | public R lcList(){ |
| | | public R lcList() { |
| | | return eventGridMemberRelationService.lcList(); |
| | | } |
| | | |
| | | @PostMapping("/cascade/list") |
| | | public R gridMemberCascadeList(@RequestBody EventGridMemberCascadeAddDTO memberCascadeAddDTO){ |
| | | public R gridMemberCascadeList(@RequestBody EventGridMemberCascadeAddDTO memberCascadeAddDTO) { |
| | | return eventGridMemberRelationService.gridMemberCascadeList(memberCascadeAddDTO); |
| | | } |
| | | |
| | | |
| | | |
| | | } |