| | |
| | | /** |
| | | * description 获取所有或者根据姓名和工号查询,分页 |
| | | * |
| | | * @param eventId 事件ID |
| | | * @param areaId 西区ID |
| | | * @return String 事件信息 |
| | | * @author manailin |
| | | * @date 2021/6/10 17:00 |
| | | */ |
| | | @ApiOperation(value = "获取所有或者根据姓名和工号查询,分页") |
| | | @GetMapping("lc/event/getGridMemberListByAreaIdOrName") |
| | | public String getGridMemberListByAreaIdOrName(String eventId) { |
| | | return lcApiService.getGridMemberListByAreaIdOrName(eventId); |
| | | public R getGridMemberListByAreaIdOrName(String areaId,String param) { |
| | | try { |
| | | return R.ok(lcApiService.getGridMemberListByAreaIdOrName(areaId,param)); |
| | | } catch (Exception e) { |
| | | log.error("获取指定区域网格列表出现错误:{}", e.getMessage()); |
| | | } |
| | | return R.ok(Collections.emptyList()); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiOperation(value = "获取指定区域网格列表") |
| | | @GetMapping("lc/grid/list") |
| | | public List<LcGridData> getGridListByAreaId(String areaId) { |
| | | public R getGridListByAreaId(String areaId) { |
| | | try { |
| | | return lcApiService.getGridListByAreaId(areaId); |
| | | return R.ok(lcApiService.getGridListByAreaId(areaId)); |
| | | } catch (Exception e) { |
| | | log.error("获取指定区域网格列表出现错误:{}", e.getMessage()); |
| | | } |
| | | return Collections.emptyList(); |
| | | return R.ok(Collections.emptyList()); |
| | | } |
| | | |
| | | |