李宇
2021-01-13 5ce314bb05eef373bd25b0b2e289a01bf6e5b6c4
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.nanometer.smartlab.dao;
 
import com.nanometer.smartlab.entity.SysLaboratory;
import com.nanometer.smartlab.entity.dto.LaboratoryVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.dao.DataAccessException;
 
import java.util.List;
import java.util.Map;
 
/**
 * Created by cmower on 17/11/18.
 */
public interface SysLaboratoryDao {
 
    public SysLaboratory getSysLaboratory(String id) throws DataAccessException;
    @SuppressWarnings("rawtypes")
    public List<SysLaboratory> getSysLaboratoryList(Map params) throws DataAccessException;
    public List<SysLaboratory> getAllSysLaboratoryList() throws DataAccessException;
    @SuppressWarnings("rawtypes")
    public int getSysLaboratoryTotalCount(Map params) throws DataAccessException;
 
    public void insertSysLaboratory(SysLaboratory sysLaboratory) throws DataAccessException;
    public int updateSysLaboratory(SysLaboratory sysLaboratory) throws DataAccessException;
    public int deleteSysLaboratorys(List<String> ids) throws DataAccessException;
 
    public SysLaboratory getSysLaboratoryByBarCode(String barCode) throws DataAccessException;
 
    public SysLaboratory getSysLaboratoryByBarCodeForExport(String barCode) throws DataAccessException;
 
    public  void updateLabExport(SysLaboratory sysLaboratory);
 
    List<Map> exportLabList(Map params);
 
    List<LaboratoryVo.Laboratory> getLaboratoryByProject(@Param("project") String project);
}