Commit 6f8ebc49965754d66c2a274e83edff7089208859
1 parent
509a8f3d0d
Exists in
master
and in
6 other branches
聊城his
Showing 2 changed files with 12 additions and 12 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/lcdcf/ConnTools.java
View file @
6f8ebc4
| ... | ... | @@ -8,15 +8,15 @@ |
| 8 | 8 | * 聊城东昌府 |
| 9 | 9 | */ |
| 10 | 10 | public class ConnTools { |
| 11 | -// private static String hisDirverClassName = "oracle.jdbc.driver.OracleDriver"; | |
| 12 | -// private static String hisUrl = "jdbc:oracle:thin:@10.2.7.17:1521:ORCL"; | |
| 13 | -// private static String hisUser = "U_LYMS"; | |
| 14 | -// private static String hisPassword = "LYMS_123"; | |
| 11 | + private static String hisDirverClassName = "oracle.jdbc.driver.OracleDriver"; | |
| 12 | + private static String hisUrl = "jdbc:oracle:thin:@10.2.7.17:1521:ORCL"; | |
| 13 | + private static String hisUser = "U_LYMS"; | |
| 14 | + private static String hisPassword = "LYMS_123"; | |
| 15 | 15 | |
| 16 | - private static String hisDirverClassName = "com.mysql.jdbc.Driver"; | |
| 17 | - private static String hisUrl = "jdbc:mysql://119.90.57.26:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"; | |
| 18 | - private static String hisUser = "platform"; | |
| 19 | - private static String hisPassword = "platform123"; | |
| 16 | +// private static String hisDirverClassName = "com.mysql.jdbc.Driver"; | |
| 17 | +// private static String hisUrl = "jdbc:mysql://119.90.57.26:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"; | |
| 18 | +// private static String hisUser = "platform"; | |
| 19 | +// private static String hisPassword = "platform123"; | |
| 20 | 20 | |
| 21 | 21 | public static Connection makeHisConnection() { |
| 22 | 22 | Connection conn = null; |
platform-operate-api/src/main/java/com/lyms/hospitalapi/lcdcf/LcdcfHisService.java
View file @
6f8ebc4
| ... | ... | @@ -49,11 +49,11 @@ |
| 49 | 49 | |
| 50 | 50 | public List<Map<String,Object>> getLcfyHis(String vcCardNo) |
| 51 | 51 | { |
| 52 | -// String sql = "select * from (select id as P_ID,name as P_NAME, sex as P_SEX, idcard as P_CARDNO," | |
| 53 | -// + " birthday as BIRTH, bhnum as P_BHNUM, phone as P_MOBILEPHONE from v_patientinfo where cardno= '"+vcCardNo+"') where rownum=1"; | |
| 52 | + String sql = "select * from (select id as P_ID,name as P_NAME, sex as P_SEX, idcard as P_CARDNO," | |
| 53 | + + " birthday as BIRTH, bhnum as P_BHNUM, phone as P_MOBILEPHONE from v_patientinfo where cardno= '"+vcCardNo+"') where rownum=1"; | |
| 54 | 54 | |
| 55 | - String sql = "select id as P_ID,name as P_NAME, sex as P_SEX, idcard as P_CARDNO," | |
| 56 | - + " birthday as BIRTH, bhnum as P_BHNUM, phone as P_MOBILEPHONE from v_patientinfo where cardno= '"+vcCardNo+"'"; | |
| 55 | +// String sql = "select id as P_ID,name as P_NAME, sex as P_SEX, idcard as P_CARDNO," | |
| 56 | +// + " birthday as BIRTH, bhnum as P_BHNUM, phone as P_MOBILEPHONE from v_patientinfo where cardno= '"+vcCardNo+"'"; | |
| 57 | 57 | |
| 58 | 58 | List<Map<String,Object>> result = new ArrayList<>(); |
| 59 | 59 |