gdg
2021-02-01 e3f9c9350c14707277b4fbf03a4d78c75ec04174
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
package com.nanometer.smartlab.dao;
 
import com.nanometer.smartlab.entity.OpeUseFlow;
import com.nanometer.smartlab.entity.dto.PersonUseDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.dao.DataAccessException;
 
import java.util.List;
import java.util.Map;
 
/**
 * Created by johnny on 17/12/16.
 */
public interface OpeUseFlowDao {
 
    void insertOpeUseFlow(OpeUseFlow opeUseFlow) throws DataAccessException;
 
    @SuppressWarnings("rawtypes")
    List<OpeUseFlow> getOpeUseFlowList(Map params);
 
    @SuppressWarnings("rawtypes")
    int getOpeUseFlowTotalCount(Map params);
 
    int update(OpeUseFlow opeUseFlow);
 
    void deleteByReagentCode(String reagentCode);
 
    void deleteByReagentCodeAndStatus(Map<String,Object> params);
 
    int updateTimeByCode(Map params);
 
    OpeUseFlow getOpeUseFlowByCode(@Param("reagentCode") String reagentCode);
 
    void updateReceiptNumber(String code, String receiptNumber);
 
    List<Map> getRegentInfoFromReceiptNumber(String receiptNumber);
 
    Map getUserIdByReagentCode(String reagentCode, String id);
 
    int countPersonalUseInfo(Map params);
 
    List<OpeUseFlow> selectPersonalUseInfo(Map params);
 
    List<PersonUseDetail> getApplyInfo(Map params);
 
    int getApplyInfoSize(Map params);
}