kongzy
2024-07-01 47a751cb301d05276ae5d75145d57b2d090fe4e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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(Long userId, JSONObject jsonObject) throws ApiException;
 
    public void logoutTestCabinet(Long userId, JSONObject jsonObject) throws ApiException;
 
    public void updateTestCabinet(Long userId, JSONObject jsonObject) throws ApiException;
 
    public String openCabinetDoor(Long userId, JSONObject jsonObject) throws ApiException;
 
    public void closeCabinetDoor(JSONObject jsonObject) throws ApiException;
 
    public void synchAllCabinet(JSONArray jsonObject) throws ApiException;
 
    public void alarm(JSONObject jsonObject) throws ApiException;
 
    public void alarmperson(JSONObject jsonObject) throws Exception;
 
    public void cabinetData(JSONArray jsonObject,Long userId) throws ApiException;
 
    public JSONObject getContainerInfo(JSONObject jsonObject) throws ApiException;
 
    public JSONObject getReagentInfo(JSONObject jsonObject) throws ApiException;
 
    public JSONObject getUserInfo(JSONObject jsonObject) 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;
 
 
}