|
@@ -1,35 +1,35 @@
|
|
-package com.diagbot.facade;
|
|
|
|
-
|
|
|
|
-import com.diagbot.client.AiptServiceClient;
|
|
|
|
-import com.diagbot.dto.DisScaleDTO;
|
|
|
|
-import com.diagbot.dto.RespDTO;
|
|
|
|
-import com.diagbot.util.RespDTOUtil;
|
|
|
|
-import com.diagbot.vo.DisScaleVO;
|
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
|
-
|
|
|
|
-import java.util.List;
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * @Description: 诊断量表
|
|
|
|
- * @author: zhoutg
|
|
|
|
- * @time: 2018/11/19 13:19
|
|
|
|
- */
|
|
|
|
-@Component
|
|
|
|
-public class DisScaleFacade {
|
|
|
|
-
|
|
|
|
- @Autowired
|
|
|
|
- AiptServiceClient aiptServiceClient;
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 返回诊断量表列表
|
|
|
|
- *
|
|
|
|
- * @param disScaleVO
|
|
|
|
- * @return
|
|
|
|
- */
|
|
|
|
- public List<DisScaleDTO> getDisScaleFac(DisScaleVO disScaleVO) {
|
|
|
|
- RespDTO<List<DisScaleDTO>> res = aiptServiceClient.getList(disScaleVO);
|
|
|
|
- RespDTOUtil.respNGDeal(res, "远程调用诊断量表列表失败");
|
|
|
|
- return res.data;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
|
|
+//package com.diagbot.facade;
|
|
|
|
+//
|
|
|
|
+//import com.diagbot.client.AiptServiceClient;
|
|
|
|
+//import com.diagbot.dto.DisScaleDTO;
|
|
|
|
+//import com.diagbot.dto.RespDTO;
|
|
|
|
+//import com.diagbot.util.RespDTOUtil;
|
|
|
|
+//import com.diagbot.vo.DisScaleVO;
|
|
|
|
+//import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+//import org.springframework.stereotype.Component;
|
|
|
|
+//
|
|
|
|
+//import java.util.List;
|
|
|
|
+//
|
|
|
|
+///**
|
|
|
|
+// * @Description: 诊断量表
|
|
|
|
+// * @author: zhoutg
|
|
|
|
+// * @time: 2018/11/19 13:19
|
|
|
|
+// */
|
|
|
|
+//@Component
|
|
|
|
+//public class DisScaleFacade {
|
|
|
|
+//
|
|
|
|
+// @Autowired
|
|
|
|
+// AiptServiceClient aiptServiceClient;
|
|
|
|
+//
|
|
|
|
+// /**
|
|
|
|
+// * 返回诊断量表列表
|
|
|
|
+// *
|
|
|
|
+// * @param disScaleVO
|
|
|
|
+// * @return
|
|
|
|
+// */
|
|
|
|
+// public List<DisScaleDTO> getDisScaleFac(DisScaleVO disScaleVO) {
|
|
|
|
+// RespDTO<List<DisScaleDTO>> res = aiptServiceClient.getList(disScaleVO);
|
|
|
|
+// RespDTOUtil.respNGDeal(res, "远程调用诊断量表列表失败");
|
|
|
|
+// return res.data;
|
|
|
|
+// }
|
|
|
|
+//}
|