From a68c5698964496324e1b4630c0dca2162a83e321 Mon Sep 17 00:00:00 2001 From: xiejianpeng Date: Tue, 31 Jul 2018 10:18:15 +0800 Subject: [PATCH] 员工管理 --- src/main/java/com/zteits/oa/report/web/AsraOpController.java | 31 +++++++++++++++++++++++++++++++ src/main/java/com/zteits/oa/report/web/demo/DemoController.java | 32 -------------------------------- 2 files changed, 31 insertions(+), 32 deletions(-) create mode 100644 src/main/java/com/zteits/oa/report/web/AsraOpController.java delete mode 100644 src/main/java/com/zteits/oa/report/web/demo/DemoController.java diff --git a/src/main/java/com/zteits/oa/report/web/AsraOpController.java b/src/main/java/com/zteits/oa/report/web/AsraOpController.java new file mode 100644 index 0000000..7321ad4 --- /dev/null +++ b/src/main/java/com/zteits/oa/report/web/AsraOpController.java @@ -0,0 +1,31 @@ +package com.zteits.oa.report.web; + +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; +import io.swagger.annotations.Api; +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; + +@Api(value = "日报系统-员工管理", description = "日报系统-员工管理") +@RestController +@RequestMapping("/asraOp") +public class AsraOpController { + + @Autowired + private AsraOpRueryService asraOpRueryService; + + @RequestMapping(value="/queryAsraOpPage",method = RequestMethod.POST) + public BizResult> queryAsraOpPage(@RequestBody AsraOpQueryReq asraOpQueryReq, HttpServletRequest request){ + BizResult> result = asraOpRueryService.queryAsraOpForPage(asraOpQueryReq); + return result; + } + +} diff --git a/src/main/java/com/zteits/oa/report/web/demo/DemoController.java b/src/main/java/com/zteits/oa/report/web/demo/DemoController.java deleted file mode 100644 index 90af109..0000000 --- a/src/main/java/com/zteits/oa/report/web/demo/DemoController.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.zteits.oa.report.web.demo; - -import javax.servlet.http.HttpServletRequest; - -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 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; - -import io.swagger.annotations.Api; - -@Api(value = "swagger测试", description = "swagger测") -@RestController -@RequestMapping("/demo") -public class DemoController { - @Autowired - private AsraOpRueryService asraOpRueryService; - - @RequestMapping(value="/demo",method = RequestMethod.POST) - public BizResult> test(@RequestBody AsraOpQueryReq asraOpQueryReq, HttpServletRequest request){ - BizResult> result = asraOpRueryService.queryAsraOpForPage(asraOpQueryReq); - return result; - } - -} -- libgit2 0.21.4