liusheng
5 天以前 cc479e6a056785103996cc7ea67dbd5faa3e800e
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
package com.ruoyi.outpatientvisit.mapper;
 
import com.ruoyi.outpatientvisit.domain.PatMedOuthospError;
import org.apache.ibatis.annotations.Mapper;
 
import java.util.List;
 
/**
 * 门急诊采集失败记录Mapper接口
 *
 * @author smartor
 */
@Mapper
public interface PatMedOuthospErrorMapper {
 
    /**
     * 写入采集失败记录(同一条记录同一类错误只保留一行,重复失败累加 fail_count)
     *
     * @param error 失败记录
     * @return 结果
     */
    int insertPatMedOuthospError(PatMedOuthospError error);
 
    /**
     * 查询采集失败记录列表(人工处理用)
     *
     * @param error 查询条件(handleStatus / errorType / serialnum / gatherDate)
     * @return 失败记录集合
     */
    List<PatMedOuthospError> selectPatMedOuthospErrorList(PatMedOuthospError error);
 
    /**
     * 人工处理:更新处理状态和备注
     *
     * @param error 失败记录
     * @return 结果
     */
    int updateHandleStatus(PatMedOuthospError error);
}