16 changed files with 243 additions and 17 deletions
@ -0,0 +1,50 @@ |
|||||
|
/** |
||||
|
* Copyright (c) 2018 人人开源 All rights reserved. |
||||
|
* <p> |
||||
|
* https://www.renren.io
|
||||
|
* <p> |
||||
|
* 版权所有,侵权必究! |
||||
|
*/ |
||||
|
|
||||
|
package com.elink.esua.epdc.controller; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
||||
|
import com.elink.esua.epdc.dto.epdc.form.EpdcAppGridManFormDTO; |
||||
|
import com.elink.esua.epdc.dto.epdc.result.EpdcAppGridManListResultDTO; |
||||
|
import com.elink.esua.epdc.service.SysUserService; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.GetMapping; |
||||
|
import org.springframework.web.bind.annotation.RequestBody; |
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 网格员管理 |
||||
|
* |
||||
|
* @author Mark sunlightcs@gmail.com |
||||
|
* @since 1.0.0 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("sysUser") |
||||
|
@Api(tags = "网格员管理") |
||||
|
public class SysUserGridmanController { |
||||
|
@Autowired |
||||
|
private SysUserService sysUserService; |
||||
|
|
||||
|
/** |
||||
|
* 获取网格员列表 |
||||
|
* |
||||
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcAppGridManListResultDTO>> |
||||
|
* @params [formDto] |
||||
|
* @author jyyzz |
||||
|
* @since 2021/8/30 16:29 |
||||
|
*/ |
||||
|
@GetMapping("gridmanList") |
||||
|
public Result<List<EpdcAppGridManListResultDTO>> getGridmanList(@RequestBody EpdcAppGridManFormDTO formDto) { |
||||
|
List<EpdcAppGridManListResultDTO> gridmanList = sysUserService.listGridmanInfo(formDto); |
||||
|
return new Result<List<EpdcAppGridManListResultDTO>>().ok(gridmanList); |
||||
|
} |
||||
|
} |
@ -1 +1 @@ |
|||||
Subproject commit 8c5f912270a32bf7cf695349c0681fb6198e2e5e |
Subproject commit 40bd0613d9f3dd621d327713e3d7f15c656570f3 |
Loading…
Reference in new issue