Commit f08ca484f8e18b7a7009537a79f9011f12c60256
1 parent
5922f241fb
Exists in
master
and in
6 other branches
儿保检查隆化指导意见恢复
Showing 1 changed file with 0 additions and 15 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/GuideLineController.java
View file @
f08ca48
... | ... | @@ -18,7 +18,6 @@ |
18 | 18 | import javax.servlet.http.HttpServletRequest; |
19 | 19 | import javax.validation.Valid; |
20 | 20 | import java.io.UnsupportedEncodingException; |
21 | -import java.net.URLEncoder; | |
22 | 21 | import java.util.List; |
23 | 22 | |
24 | 23 | /** |
25 | 24 | |
26 | 25 | |
... | ... | @@ -31,23 +30,9 @@ |
31 | 30 | public class GuideLineController extends BaseController { |
32 | 31 | @Autowired |
33 | 32 | private GuidelinesService guidelinesService; |
34 | - @Autowired | |
35 | - private AutoMatchFacade autoMatchFacade; | |
36 | 33 | @ResponseBody |
37 | - @TokenRequired | |
38 | 34 | @RequestMapping(method = RequestMethod.GET,value = "/guide") |
39 | 35 | public String matchGuide(@Valid GuideQuery guideQuery, HttpServletRequest request) throws UnsupportedEncodingException { |
40 | - Integer userId=((LoginContext) request.getAttribute("loginContext")).getId(); | |
41 | - String hospitalId = autoMatchFacade.getHospitalId(userId); | |
42 | - //隆化定制儿保检查指导意见 | |
43 | - if("2100001605".equals(hospitalId)){ | |
44 | - String text="1.科学喂养\n" + | |
45 | - "2.生长发育\n" + | |
46 | - "3.疾病预防\n" + | |
47 | - "4.预防意外伤害\n" + | |
48 | - "5.口腔保健"; | |
49 | - return text; | |
50 | - } | |
51 | 36 | GuidelinesQuery guidelinesQuery=new GuidelinesQuery(); |
52 | 37 | guidelinesQuery.setType(guideQuery.getType()); |
53 | 38 | guidelinesQuery.setMaxStart(guideQuery.getNum()); |