Commit 8ac34f5e73ecba8987d18323e70a65ce5a9d40a8
1 parent
e621f7c38a
Exists in
master
and in
6 other branches
秦皇岛冠新公卫接口
Showing 1 changed file with 32 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/QhdJbgwController.java
View file @
8ac34f5
| 1 | +package com.lyms.platform.operate.web.controller; | |
| 2 | + | |
| 3 | +import com.lyms.hospitalapi.qhdfy.QhdJbgwInterface; | |
| 4 | +import org.apache.commons.lang.StringUtils; | |
| 5 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 6 | +import org.springframework.stereotype.Controller; | |
| 7 | +import org.springframework.web.bind.annotation.RequestMapping; | |
| 8 | +import org.springframework.web.bind.annotation.ResponseBody; | |
| 9 | + | |
| 10 | +import java.util.List; | |
| 11 | +import java.util.Map; | |
| 12 | + | |
| 13 | +/** | |
| 14 | + * Created by Administrator on 2018/8/20. | |
| 15 | + */ | |
| 16 | +@Controller | |
| 17 | +public class QhdJbgwController { | |
| 18 | + | |
| 19 | + @Autowired | |
| 20 | + private QhdJbgwInterface qhdJbgwInterface; | |
| 21 | + | |
| 22 | + | |
| 23 | + @RequestMapping(value = "/qhd/ycdj") | |
| 24 | + @ResponseBody | |
| 25 | + public List<Map<String,String>> qhdYcdj(String startDate,String endDate){ | |
| 26 | + if(StringUtils.isNotEmpty(startDate) && StringUtils.isNotEmpty(endDate)){ | |
| 27 | + return qhdJbgwInterface.getPatient(startDate,endDate); | |
| 28 | + } | |
| 29 | + return null; | |
| 30 | + } | |
| 31 | + | |
| 32 | +} |