Commit 575cb3febb6ba73032b6520335f60e1555a03be5
1 parent
a5d3c8c794
Exists in
master
and in
6 other branches
调用德州代金券工具类
Showing 2 changed files with 12 additions and 17 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/AntenatalExaminationController.java
View file @
575cb3f
| ... | ... | @@ -60,8 +60,8 @@ |
| 60 | 60 | private PatientCheckTicketService checkTicketService; |
| 61 | 61 | |
| 62 | 62 | public static final String HIS_VERSION = PropertiesUtils.getPropertyValue("his_version"); |
| 63 | - public static final String INTERFACE_VERSION=PropertiesUtils.getPropertyValue("interface_version"); | |
| 64 | 63 | |
| 64 | + | |
| 65 | 65 | @Autowired |
| 66 | 66 | private AutoMatchFacade autoMatchFacade; |
| 67 | 67 | |
| ... | ... | @@ -107,6 +107,8 @@ |
| 107 | 107 | return new BaseListResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(qhdfyHisService.queryCheckListupdate(cardNo, ftype)); |
| 108 | 108 | } else if ("6".equals(HIS_VERSION)) { |
| 109 | 109 | return new BaseListResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(dzfyHisService.queryCheckListupdate(cardNo, ftype)); |
| 110 | + } else if ("7".equals(HIS_VERSION)){ | |
| 111 | + return new BaseListResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(nczxyyLisService.queryCheckListupdate(cardNo, ftype)); | |
| 110 | 112 | } else { |
| 111 | 113 | return new BaseResponse().setErrorcode(ErrorCodeConstants.NO_DATA).setErrormsg("没有数据"); |
| 112 | 114 | |
| ... | ... | @@ -114,18 +116,6 @@ |
| 114 | 116 | } |
| 115 | 117 | |
| 116 | 118 | |
| 117 | - @RequestMapping(method = RequestMethod.GET, value = "/lisinterfacechecklistbydate") | |
| 118 | - @ResponseBody | |
| 119 | - public BaseResponse queryHisCheckList3(String cardNo, int ftype,HttpServletRequest request){ | |
| 120 | - if("1".equals(INTERFACE_VERSION)){ | |
| 121 | - return new BaseListResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(nczxyyLisService.queryCheckListupdate(cardNo, ftype)); | |
| 122 | - }else { | |
| 123 | - return new BaseResponse().setErrorcode(ErrorCodeConstants.NO_DATA).setErrormsg("没有数据"); | |
| 124 | - | |
| 125 | - } | |
| 126 | - } | |
| 127 | - | |
| 128 | - | |
| 129 | 119 | |
| 130 | 120 | /** |
| 131 | 121 | * 查询产前检查 |
platform-operate-api/src/main/resources/config.properties
View file @
575cb3f
| ... | ... | @@ -12,11 +12,9 @@ |
| 12 | 12 | shanDong_Dezhou_youHuiQuan_money_Number=500 |
| 13 | 13 | |
| 14 | 14 | |
| 15 | -#调用医院的接口 0:未使用,1:四川南充中心医院 | |
| 16 | -interface_version=1 | |
| 17 | 15 | |
| 18 | -#His系统版本 0:未使用,1:桓台,2:新乐,3:青龙县医院,4:秦皇岛妇幼,5:抚宁妇幼, 6: 德州妇幼 | |
| 19 | -his_version=0 | |
| 16 | +#His系统版本 0:未使用,1:桓台,2:新乐,3:青龙县医院,4:秦皇岛妇幼,5:抚宁妇幼, 6: 德州妇幼,7:南充中心医院 | |
| 17 | +his_version=7 | |
| 20 | 18 | |
| 21 | 19 | #统计中心url |
| 22 | 20 | center_statistics_url=http://api.healthbaby.com.cn/ |
| ... | ... | @@ -73,6 +71,13 @@ |
| 73 | 71 | jdbc.6.url=jdbc:oracle:thin:@119.90.57.26:1522:orcl |
| 74 | 72 | jdbc.6.username=LYMS_ODS |
| 75 | 73 | jdbc.6.password=Welcome1 |
| 74 | + | |
| 75 | + | |
| 76 | +jdbc.7.driver=oracle.jdbc.driver.OracleDriver | |
| 77 | +jdbc.7.url=jdbc:oracle:thin:@119.90.57.26:1522:orcl | |
| 78 | +jdbc.7.username=LYMS_ODS | |
| 79 | +jdbc.7.password=Welcome1 | |
| 80 | + | |
| 76 | 81 | |
| 77 | 82 | # 远程调用类型 1=本地 2=测试环境 3=线上环境 |
| 78 | 83 | remote.url.type=2 |