XiaoRuby
2023-07-25 653cbd6bc42565dbdcc7fdbe652874738b1908df
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
package com.yuanchu.limslaboratory.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuanchu.limslaboratory.pojo.Instrument;
import com.baomidou.mybatisplus.extension.service.IService;
 
import java.util.Map;
import java.util.Objects;
 
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-07-20
 */
public interface InstrumentService extends IService<Instrument> {
 
    Integer addInstrumentInformation(Instrument instrument);
 
    Boolean deleteInstrumentInformation(String instrumentId);
 
    IPage<Map<String, Object>> getListInstrumentInformation(Integer conditions, Boolean whetherWhether, String numberOrNameOrSpecifications,
                                                            Integer classifyId, Page<Objects> page);
 
    /**
     * 更新仪器数据的时候需要获取所有数据
     * @param instrumentId
     * @return
     */
    Instrument getIdInstrumentInformation(Integer instrumentId);
 
    Integer updateEquipmentPointInformation(Instrument instrument);
}