Commit c66e382912ec65a84f0e510164082dfd21b87363
1 parent
41815ca2a4
Exists in
master
and in
6 other branches
update
Showing 2 changed files with 31 additions and 28 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/area/LisController.java
View file @
c66e382
1 | -package com.lyms.hospitalapi.area; | |
2 | - | |
3 | -import com.lyms.platform.common.base.BaseController; | |
4 | -import com.lyms.platform.common.result.BaseResponse; | |
5 | -import com.lyms.platform.permission.service.LisService; | |
6 | -import org.springframework.beans.factory.annotation.Autowired; | |
7 | -import org.springframework.stereotype.Controller; | |
8 | -import org.springframework.web.bind.annotation.*; | |
9 | - | |
10 | -import javax.servlet.http.HttpServletRequest; | |
11 | - | |
12 | -/** | |
13 | - * Created by lqy on 2017-04-11. | |
14 | - */ | |
15 | -@Controller | |
16 | -public class LisController extends BaseController { | |
17 | - | |
18 | - @Autowired | |
19 | - private LisService lisService; | |
20 | - | |
21 | - @RequestMapping(method = RequestMethod.POST, value = "/saveLisData") | |
22 | - @ResponseBody | |
23 | - public BaseResponse saveLisData(@RequestParam("lisData") String lisData, | |
24 | - HttpServletRequest httpServletRequest) { | |
25 | - System.out.println("LisController==="+lisData); | |
26 | - return lisService.saveLisData(lisData); | |
27 | - } | |
28 | -} |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/LisController.java
View file @
c66e382
1 | +package com.lyms.platform.operate.web.controller; | |
2 | + | |
3 | +import com.lyms.platform.common.base.BaseController; | |
4 | +import com.lyms.platform.common.result.BaseResponse; | |
5 | +import com.lyms.platform.permission.service.LisService; | |
6 | +import org.springframework.beans.factory.annotation.Autowired; | |
7 | +import org.springframework.stereotype.Controller; | |
8 | +import org.springframework.web.bind.annotation.RequestMapping; | |
9 | +import org.springframework.web.bind.annotation.RequestMethod; | |
10 | +import org.springframework.web.bind.annotation.RequestParam; | |
11 | +import org.springframework.web.bind.annotation.ResponseBody; | |
12 | + | |
13 | +import javax.servlet.http.HttpServletRequest; | |
14 | + | |
15 | +/** | |
16 | + * Created by lqy on 2017-04-11. | |
17 | + */ | |
18 | +@Controller | |
19 | +public class LisController extends BaseController { | |
20 | + | |
21 | + @Autowired | |
22 | + private LisService lisService; | |
23 | + | |
24 | + @RequestMapping(method = RequestMethod.POST, value = "/saveLisData") | |
25 | + @ResponseBody | |
26 | + public BaseResponse saveLisData(@RequestParam("lisData") String lisData, | |
27 | + HttpServletRequest httpServletRequest) { | |
28 | + System.out.println("LisController==="+lisData); | |
29 | + return lisService.saveLisData(lisData); | |
30 | + } | |
31 | +} |