李宇
2021-06-25 b48666e1f30b3334726d218d6b05d1228a307fd7
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
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);
 
    int countOpeUseFlow(OpeUseFlow opeUseFlow);
 
    OpeUseFlow selectById(@Param("id") String id);
 
    OpeUseFlow selectByReceiptNumber(Map params);
}