|
|
@@ -0,0 +1,27 @@
|
|
|
+package cn.tr.module.smart.common.controller;
|
|
|
+
|
|
|
+import cn.tr.core.annotation.TenantIgnore;
|
|
|
+import cn.tr.core.pojo.CommonResult;
|
|
|
+import cn.tr.module.smart.app.controller.vo.DoctorClinicRoomVO;
|
|
|
+import cn.tr.module.smart.common.service.IBizClinicRoomService;
|
|
|
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
+
|
|
|
+@Api(tags = "百炼插件",hidden = true)
|
|
|
+@RestController
|
|
|
+@RequestMapping("/bailian/plugins")
|
|
|
+@AllArgsConstructor
|
|
|
+public class BaiLianPluginsController {
|
|
|
+ @Autowired
|
|
|
+ private IBizClinicRoomService clinicRoomService;
|
|
|
+ @ApiOperationSupport(author = "lf", order = 1)
|
|
|
+ @ApiOperation(value = "查询泵的输注信息", notes = "权限: 无")
|
|
|
+ @PostMapping("deviceInfo")
|
|
|
+ public CommonResult<DoctorClinicRoomVO> queryDeviceInfo(@RequestHeader("clinicId") String clinicId){
|
|
|
+ return CommonResult.success(clinicRoomService.selectAppBizClinicRoomById(clinicId));
|
|
|
+ }
|
|
|
+}
|