|
@@ -1,19 +1,17 @@
|
|
|
package com.diagbot.client;
|
|
|
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
-import javax.validation.Valid;
|
|
|
-
|
|
|
+import com.diagbot.client.hystrix.TranServiceHystrix;
|
|
|
+import com.diagbot.dto.RespDTO;
|
|
|
+import com.diagbot.dto.SysSetInfoDTO;
|
|
|
+import com.diagbot.vo.HospitalSetVO;
|
|
|
import com.diagbot.vo.MrVO;
|
|
|
import com.diagbot.vo.PushJoinVO;
|
|
|
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 javax.validation.Valid;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* @Description: 调用信息对接层服务
|
|
@@ -23,17 +21,16 @@ import com.diagbot.vo.HospitalSetVO;
|
|
|
@FeignClient(value = "tran-service", fallback = TranServiceHystrix.class)
|
|
|
public interface TranServiceClient {
|
|
|
|
|
|
- /**
|
|
|
- *
|
|
|
- * @param hospitalSetVO
|
|
|
- * @return
|
|
|
- */
|
|
|
+ /**
|
|
|
+ * @param hospitalSetVO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@PostMapping("/sysSet/getSysSetInfoDatas")
|
|
|
RespDTO<List<SysSetInfoDTO>> getSysSetInfoDatas(@Valid @RequestBody HospitalSetVO hospitalSetVO);
|
|
|
|
|
|
- @PostMapping("/mr/createMr")
|
|
|
- RespDTO<String> createMr(@RequestBody PushJoinVO pushJoinVO);
|
|
|
+ @PostMapping("/mr/createMr")
|
|
|
+ RespDTO<String> createMr(@RequestBody PushJoinVO pushJoinVO);
|
|
|
|
|
|
- @PostMapping("/mr/getMr")
|
|
|
- RespDTO<PushJoinVO> getMr(@RequestBody @Valid MrVO mrVO);
|
|
|
+ @PostMapping("/mr/getMr")
|
|
|
+ RespDTO<PushJoinVO> getMr(@RequestBody @Valid MrVO mrVO);
|
|
|
}
|