Commit f787c0b8b15bf63fdd228f9f99c9d6cf47ac8a4f
1 parent
8e527ccc86
Exists in
master
and in
6 other branches
诸城妇幼分娩接口数据源修改,字段对应修改
Showing 2 changed files with 9 additions and 11 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/zcfy/ConnTools.java
View file @
f787c0b
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | private static String hisPassword = "lyms"; |
| 16 | 16 | |
| 17 | 17 | private static String fmDirverClassName = "oracle.jdbc.driver.OracleDriver"; |
| 18 | - private static String fmUrl = "jdbc:oracle:thin:@192.168.10.3:1521:fubao"; | |
| 18 | + private static String fmUrl = "jdbc:oracle:thin:@192.168.10.5:1521:fubao"; | |
| 19 | 19 | private static String fmUser = "lymsfm"; |
| 20 | 20 | private static String fmPassword = "lyms123"; |
| 21 | 21 |
platform-operate-api/src/main/java/com/lyms/hospitalapi/zcfy/ZcfyFmService.java
View file @
f787c0b
| ... | ... | @@ -115,17 +115,15 @@ |
| 115 | 115 | |
| 116 | 116 | public void queryFmPatient(String start,String end,String phone) { |
| 117 | 117 | |
| 118 | - String cloumns = " ID as ID,\n" + | |
| 119 | - " 住院编号 as BHNUM,\n" + | |
| 120 | - " 就诊卡号 as VCCARDNO,\n" + | |
| 121 | - " 手机号码 as PHONE,\n" + | |
| 122 | - " 姓名 as NAME,\n" + | |
| 123 | - " 身份证号 as IDCARD,\n" + | |
| 118 | + | |
| 119 | + String cloumns = " 住院编号 as BHNUM,\n" + | |
| 120 | + " PHONE as PHONE,\n" + | |
| 121 | + " NAME as NAME,\n" + | |
| 122 | + " IDCARD as IDCARD,\n" + | |
| 124 | 123 | " CREATED as CREATED,\t\n" + |
| 125 | - " CONVERT(char(19),婴儿产出时日,120) as BABY_DELIVERY_TIME,\n" + | |
| 126 | - " 婴儿性别 as BABY_SEX,\n" + | |
| 127 | - " 孕周 as DUE_WEEK,\n" + | |
| 128 | - // " DUE_DAY as DUE_DAY,\n" + | |
| 124 | + " to_char(BABY_DELIVERY_TIME,'yyyy-mm-dd hh24:mi:ss') as BABY_DELIVERY_TIME,\n" + | |
| 125 | + " BABY_SEX as BABY_SEX,\n" + | |
| 126 | + " DUE_WEEK as DUE_WEEK,\n" + | |
| 129 | 127 | " 胎次 as FETUS_NUM,\n" + |
| 130 | 128 | " 窒息 as BABY_ASPHYXIAM,\n" + |
| 131 | 129 | " CONVERT(int,left(体重,len(体重)-1)) as BABY_WEIGHT,\n" + |