a68c5698
xiejianpeng
员工管理
|
1
|
package com.zteits.oa.report.web;
|
159eaad1
王富生
集成swagger
|
2
|
|
1b9e8898
王富生
提交
|
3
4
5
6
7
|
import com.zteits.oa.api.base.bean.BizResult;
import com.zteits.oa.api.base.bean.PageBean;
import com.zteits.oa.api.dto.asraop.AsraOpDTO;
import com.zteits.oa.api.dto.asraop.param.AsraOpQueryReq;
import com.zteits.oa.api.service.report.query.AsraOpRueryService;
|
159eaad1
王富生
集成swagger
|
8
|
import io.swagger.annotations.Api;
|
a68c5698
xiejianpeng
员工管理
|
9
10
11
12
13
14
15
|
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletRequest;
|
159eaad1
王富生
集成swagger
|
16
|
|
a68c5698
xiejianpeng
员工管理
|
17
|
@Api(value = "日报系统-员工管理", description = "日报系统-员工管理")
|
159eaad1
王富生
集成swagger
|
18
|
@RestController
|
a68c5698
xiejianpeng
员工管理
|
19
20
21
|
@RequestMapping("/asraOp")
public class AsraOpController {
|
1b9e8898
王富生
提交
|
22
23
|
@Autowired
private AsraOpRueryService asraOpRueryService;
|
159eaad1
王富生
集成swagger
|
24
|
|
a68c5698
xiejianpeng
员工管理
|
25
26
|
@RequestMapping(value="/queryAsraOpPage",method = RequestMethod.POST)
public BizResult<PageBean<AsraOpDTO>> queryAsraOpPage(@RequestBody AsraOpQueryReq asraOpQueryReq, HttpServletRequest request){
|
1b9e8898
王富生
提交
|
27
28
|
BizResult<PageBean<AsraOpDTO>> result = asraOpRueryService.queryAsraOpForPage(asraOpQueryReq);
return result;
|
159eaad1
王富生
集成swagger
|
29
30
31
|
}
}
|