From 47a751cb301d05276ae5d75145d57b2d090fe4e1 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Mon, 01 Jul 2024 10:58:35 +0800
Subject: [PATCH] change
---
src/main/java/com/nanometer/smartlab/service/InterfaceService.java | 52 ++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 46 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/nanometer/smartlab/service/InterfaceService.java b/src/main/java/com/nanometer/smartlab/service/InterfaceService.java
index 2553bd7..c1e6031 100644
--- a/src/main/java/com/nanometer/smartlab/service/InterfaceService.java
+++ b/src/main/java/com/nanometer/smartlab/service/InterfaceService.java
@@ -1,22 +1,27 @@
package com.nanometer.smartlab.service;
import java.io.IOException;
+import java.text.ParseException;
+import java.util.Date;
import java.util.List;
+import java.util.Map;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
+import com.nanometer.smartlab.entity.OpeUseFlow;
+import com.nanometer.smartlab.entity.SysLaboratory;
import com.nanometer.smartlab.entity.SysUser;
import com.nanometer.smartlab.exception.ApiException;
public interface InterfaceService {
- public void registerTestCabinet(String userId, JSONObject jsonObject) throws ApiException;
+ public void registerTestCabinet(Long userId, JSONObject jsonObject) throws ApiException;
- public void logoutTestCabinet(String userId, JSONObject jsonObject) throws ApiException;
+ public void logoutTestCabinet(Long userId, JSONObject jsonObject) throws ApiException;
- public void updateTestCabinet(String userId, JSONObject jsonObject) throws ApiException;
+ public void updateTestCabinet(Long userId, JSONObject jsonObject) throws ApiException;
- public String openCabinetDoor(String userId, JSONObject jsonObject) throws ApiException;
+ public String openCabinetDoor(Long userId, JSONObject jsonObject) throws ApiException;
public void closeCabinetDoor(JSONObject jsonObject) throws ApiException;
@@ -26,7 +31,7 @@
public void alarmperson(JSONObject jsonObject) throws Exception;
- public void cabinetData(JSONArray jsonObject) throws ApiException;
+ public void cabinetData(JSONArray jsonObject,Long userId) throws ApiException;
public JSONObject getContainerInfo(JSONObject jsonObject) throws ApiException;
@@ -34,11 +39,46 @@
public JSONObject getUserInfo(JSONObject jsonObject) throws ApiException;
- public void AutheTestCabinet(String userId, JSONObject parseObject) throws ApiException;
+ public void AutheTestCabinet(Long userId, JSONObject parseObject) throws ApiException;
public List<SysUser> getUserListByContainerCode(String containerCode, String startTime,String endTime) throws ApiException;
List<SysUser> getUserListByContainerCodeNew(String containerCode, String startTime, String endTime) throws ApiException;
public void delalarmperson(JSONObject jsonObject) throws Exception;
+
+ /**
+ * 获取实验室列表和实验室临时存储库列表
+ * @param userId
+ * @return
+ */
+ List<SysLaboratory> getLabAndContainerByUserId(Long userId) throws ApiException;
+
+ /**
+ * 根据试剂条码查询流向
+ * @param reagentCode
+ * @return
+ * @throws ApiException
+ */
+ List<OpeUseFlow> getReagentUseFlowList(String reagentCode) throws ApiException;
+
+ /**
+ *
+ * @param userId
+ * @return
+ * @throws ApiException
+ */
+ List<SysLaboratory> getLaboratoryByUserId(Long userId)throws ApiException;
+
+ /**
+ * 个人获取流向
+ * @param pageNum
+ * @param pageSize
+ * @param userId
+ * @return
+ * @throws ApiException
+ */
+ Map<String,Object> getOpeUseFlowByUserId(Integer pageNum, Integer pageSize, Long userId, Integer operatestate, String startDate, String endDate) throws ApiException, ParseException;
+
+
}
--
Gitblit v1.9.2