|
@@ -1,17 +1,15 @@
|
|
|
package com.diagbot.client;
|
|
|
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
-import javax.validation.Valid;
|
|
|
-
|
|
|
-import org.springframework.cloud.openfeign.FeignClient;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-
|
|
|
import com.diagbot.client.hystrix.TranServiceHystrix;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.dto.SysSetInfoDTO;
|
|
|
import com.diagbot.vo.HospitalSetVO;
|
|
|
+import org.springframework.cloud.openfeign.FeignClient;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+
|
|
|
+import javax.validation.Valid;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* @Description: 调用信息对接层服务
|
|
@@ -20,11 +18,10 @@ import com.diagbot.vo.HospitalSetVO;
|
|
|
*/
|
|
|
@FeignClient(value = "tran-service", fallback = TranServiceHystrix.class)
|
|
|
public interface TranServiceClient {
|
|
|
- /**
|
|
|
- *
|
|
|
- * @param hospitalSetVO
|
|
|
- * @return
|
|
|
- */
|
|
|
- @PostMapping("/sysSet/getSysSetInfoDatas")
|
|
|
+ /**
|
|
|
+ * @param hospitalSetVO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PostMapping("/sysSet/getSysSetInfoDatas")
|
|
|
RespDTO<List<SysSetInfoDTO>> getSysSetInfoDatas(@Valid @RequestBody HospitalSetVO hospitalSetVO);
|
|
|
}
|