|
|
@@ -6,6 +6,8 @@ import com.chinaitop.depot.basic.service.DRyxxsjyService;
|
|
6
|
6
|
import com.github.pagehelper.PageHelper;
|
|
7
|
7
|
import com.github.pagehelper.PageInfo;
|
|
8
|
8
|
import io.swagger.annotations.Api;
|
|
|
9
|
+import io.swagger.annotations.ApiImplicitParam;
|
|
|
10
|
+import io.swagger.annotations.ApiImplicitParams;
|
|
9
|
11
|
import io.swagger.annotations.ApiOperation;
|
|
10
|
12
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
11
|
13
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
@@ -29,6 +31,12 @@ public class DRyxxsjyController {
|
|
29
|
31
|
|
|
30
|
32
|
@GetMapping("/getPageList")
|
|
31
|
33
|
@ApiOperation(value="查询员工信息列表", notes = "支持分页")
|
|
|
34
|
+ @ApiImplicitParams({
|
|
|
35
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", paramType = "query"),
|
|
|
36
|
+ @ApiImplicitParam(name = "pageSize", value = "每页条数", paramType = "query"),
|
|
|
37
|
+ @ApiImplicitParam(name = "orgId", value = "组织机构ID", paramType = "query"),
|
|
|
38
|
+ @ApiImplicitParam(name = "ryxm", value = "人员姓名", paramType = "query")
|
|
|
39
|
+ })
|
|
32
|
40
|
public PageInfo<DRyxxsjyVO> getPageList(@Valid DRyxxsjyPageParam pageParam) {
|
|
33
|
41
|
PageHelper.startPage(pageParam.getPageNum(), pageParam.getPageSize());
|
|
34
|
42
|
return new PageInfo<>(dRyxxsjyService.getPageList(pageParam));
|