Commit 43df1f77da52a529dadc073d2db47d7c1c188718
Merge branch 'branch0730' of http://192.168.1.195:9998/ZTEITS-Developers/zteits-…
…oa.git into branch0730
Showing
1 changed file
with
31 additions
and
0 deletions
src/main/java/com/zteits/oa/report/web/AsraOpController.java
0 → 100644
1 | +package com.zteits.oa.report.web; | |
2 | + | |
3 | +import com.zteits.oa.api.base.bean.BizResult; | |
4 | +import com.zteits.oa.api.base.bean.PageBean; | |
5 | +import com.zteits.oa.api.dto.asraop.AsraOpDTO; | |
6 | +import com.zteits.oa.api.dto.asraop.param.AsraOpQueryReq; | |
7 | +import com.zteits.oa.api.service.report.query.AsraOpRueryService; | |
8 | +import io.swagger.annotations.Api; | |
9 | +import org.springframework.beans.factory.annotation.Autowired; | |
10 | +import org.springframework.web.bind.annotation.RequestBody; | |
11 | +import org.springframework.web.bind.annotation.RequestMapping; | |
12 | +import org.springframework.web.bind.annotation.RequestMethod; | |
13 | +import org.springframework.web.bind.annotation.RestController; | |
14 | + | |
15 | +import javax.servlet.http.HttpServletRequest; | |
16 | + | |
17 | +@Api(value = "日报系统-员工管理", description = "日报系统-员工管理") | |
18 | +@RestController | |
19 | +@RequestMapping("/asraOp") | |
20 | +public class AsraOpController { | |
21 | + | |
22 | + @Autowired | |
23 | + private AsraOpRueryService asraOpRueryService; | |
24 | + | |
25 | + @RequestMapping(value="/queryAsraOpPage",method = RequestMethod.POST) | |
26 | + public BizResult<PageBean<AsraOpDTO>> queryAsraOpPage(@RequestBody AsraOpQueryReq asraOpQueryReq, HttpServletRequest request){ | |
27 | + BizResult<PageBean<AsraOpDTO>> result = asraOpRueryService.queryAsraOpForPage(asraOpQueryReq); | |
28 | + return result; | |
29 | + } | |
30 | + | |
31 | +} | ... | ... |