# dj_remote **Repository Path**: cyf2018/dj_remote ## Basic Information - **Project Name**: dj_remote - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-09-06 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dj_remote_interface_call dj 公司 远程接口服务平台 开发周期 2018.07.24 - 2018.08.15 ## 开发环境 jdk1.8 + maven3.3.9 + idea2017 ## 技术栈 - Spring Boot2.0.4.RELEASE + Swagger2.7.0 + logback + oracle + Mybatis - Spring Boot2.0 整合 quratz 参考: https://blog.csdn.net/qq_28483283/article/details/80623417 - Spring Boot2.0 整合 Swagger2 参考: https://www.cnblogs.com/fengli9998/p/7522973.html - Spring Boot2.0 整合 Mybatis 多数据源配置。 - Spring Boot 各种整合 参考: https://gitee.com/didispace/SpringBoot-Learning ## 启动说明 - 项目使用的数据库为oracle,工具用的PLSql, 在/sql/init.sql - 修改application.properties 修改两个数据库配置 - 修改logback.xml 修改日志储存路径 - 运行 Start main方法,启动项目 - 项目访问地址:http://localhost:9099/dj/patient/remind - API接口地址: http://localhost:9099/dj/swagger-ui.html - 请求方式:POST 请求 - 请求参数:JSON数据: { "AccessToken": "凭证", "HospitalID": "医疗机构编号", "HOSPITAL_Name": "医疗机构名称", "IdentityID":"360731199904110000", "InHospitalID":"9705142873", "OutHospitalID":"24335142873", "CardNo":"9705", "ApplicationID":"01A54D", "ApplicationName":"王小明" } - 返回结果: 成功: { "faultContext": "", "isSuccess": true } 2018-09-03 13:36:29.924 [http-nio-9099-exec-3] INFO com.controller.PatientController - 推送【患者基本信息信息、临床诊疗信息 和 患者病历文书信息】全部成功!!! 2018-09-03 13:36:29.924 [http-nio-9099-exec-3] INFO com.controller.PatientController - push data success!!!耗时: 7427 毫秒 失败: { "faultContext": "失败原因", "isSuccess": true } - 查看日志: 位置在 /logs 下;