gaodm il y a 6 ans
Parent
commit
85591d89cd

+ 10 - 5
icss-service/src/main/java/com/diagbot/client/TranServiceClient.java

@@ -28,11 +28,10 @@ import com.diagbot.vo.PatientInfoVO;
  */
 @FeignClient(value = "tran-service", fallback = TranServiceHystrix.class)
 public interface TranServiceClient {
-//    @PostMapping(value = "/web/doc/algorithm/neural")
-//    Response<ResponseData> bayesPageData(@RequestBody SearchData searchData);
 
     /**
      * 获取医生信息
+     *
      * @param doctorInfoVo
      * @return
      */
@@ -41,6 +40,7 @@ public interface TranServiceClient {
 
     /**
      * 获取科室信息
+     *
      * @param hospitalDeptInfoVO
      * @return
      */
@@ -49,13 +49,16 @@ public interface TranServiceClient {
 
     /**
      * 获取医院信息
+     *
      * @param hospitalInfoVO
      * @return
      */
     @PostMapping("/hospitalInfo/getHospitalInfo")
     RespDTO<List<HospitalInfoDTO>> getHospitalInfo(@RequestBody HospitalInfoVO hospitalInfoVO);
+
     /**
      * 匹配公表名
+     *
      * @param lisHospitalCodeVO
      * @return
      */
@@ -64,17 +67,19 @@ public interface TranServiceClient {
 
     /**
      * 获取患者信息
+     *
      * @param patientInfoVO
      * @return
      */
     @PostMapping("/patientInfo/getPatientInfo")
-    RespDTO<PatientInfoDTO> getPatientInfo( @RequestBody PatientInfoVO patientInfoVO);
-    
+    RespDTO<PatientInfoDTO> getPatientInfo(@RequestBody PatientInfoVO patientInfoVO);
+
     /**
      * 获取页面顶部病人医生科室信息
+     *
      * @param getTopPatientInfoVO
      * @return
      */
     @PostMapping("/patientInfo/getTopPatientInfo")
-    RespDTO<GetTopPatientInfoDTO> getTopPatientInfo( @RequestBody GetTopPatientInfoVO getTopPatientInfoVO);
+    RespDTO<GetTopPatientInfoDTO> getTopPatientInfo(@RequestBody GetTopPatientInfoVO getTopPatientInfoVO);
 }

+ 10 - 16
icss-service/src/main/java/com/diagbot/client/hystrix/TranServiceHystrix.java

@@ -46,11 +46,12 @@ public class TranServiceHystrix implements TranServiceClient {
         log.error("【hystrix】调用{}异常", "getHospitalDeptInfo");
         return null;
     }
+
     @Override
-	public RespDTO<List<LisConfigDTO>> getLisConfigByhospitalId(LisHospitalCodeVO lisHospitalCodeVO) {
-		log.error("【hystrix】调用{}异常", "getLisConfigByhospitalId");
-		return null;
-	}
+    public RespDTO<List<LisConfigDTO>> getLisConfigByhospitalId(LisHospitalCodeVO lisHospitalCodeVO) {
+        log.error("【hystrix】调用{}异常", "getLisConfigByhospitalId");
+        return null;
+    }
 
     @Override
     public RespDTO<PatientInfoDTO> getPatientInfo(PatientInfoVO patientInfoVO) {
@@ -58,16 +59,9 @@ public class TranServiceHystrix implements TranServiceClient {
         return null;
     }
 
-	@Override
-	public RespDTO<GetTopPatientInfoDTO> getTopPatientInfo(GetTopPatientInfoVO getTopPatientInfoVO) {
-		log.error("【hystrix】调用{}异常", "getTopPatientInfo");
-		return null;
-	}
-    
-    
-//    @Override
-//    public Response<ResponseData> bayesPageData(SearchData searchData) {
-//        log.error("【hystrix】调用{}异常", "bayesPageData");
-//        return null;
-//    }
+    @Override
+    public RespDTO<GetTopPatientInfoDTO> getTopPatientInfo(GetTopPatientInfoVO getTopPatientInfoVO) {
+        log.error("【hystrix】调用{}异常", "getTopPatientInfo");
+        return null;
+    }
 }

+ 0 - 22
tran-service/src/main/resources/mapper/SysLogMapper.xml

@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.diagbot.mapper.SysLogMapper">
-
-    <!-- 通用查询映射结果 -->
-    <resultMap id="BaseResultMap" type="com.diagbot.entity.SysLog">
-        <id column="id" property="id"/>
-        <result column="is_deleted" property="isDeleted"/>
-        <result column="gmt_create" property="gmtCreate"/>
-        <result column="gmt_modified" property="gmtModified"/>
-        <result column="creator" property="creator"/>
-        <result column="modifier" property="modifier"/>
-        <result column="ip" property="ip"/>
-        <result column="sys_type" property="sysType"/>
-        <result column="method" property="method"/>
-        <result column="operation" property="operation"/>
-        <result column="params" property="params"/>
-        <result column="username" property="username"/>
-    </resultMap>
-
-</mapper>