陈昶聿
3 天以前 e444243ca81f28c69a5c0a79ec77689ce6f6ee52
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
package com.ruoyi.quartz.mapper;
 
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.core.domain.entity.SysUserDept;
import com.ruoyi.common.core.domain.entity.SysUserRole;
import com.ruoyi.common.enums.DataSourceType;
import com.smartor.domain.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
 
import java.util.List;
import java.util.Map;
 
@DataSource(value = DataSourceType.SLAVE)
@Mapper
public interface CollectHISMapper {
 
 
    /**
     * 查询患者档案列表
     *
     * @param patArchive 患者档案
     * @return 患者档案集合
     */
    public List<PatArchive> selectPatArchiveList(PatArchive patArchive);
 
    /**
     * 用户与角色信息
     *
     * @param sysUser
     * @return
     */
    public SysUserRole yhyjsxx(SysUser sysUser);
 
    /**
     * 用户与科室信息
     *
     * @param sysUser
     * @return
     */
    public List<SysUserDept> yhyksxx(SysUser sysUser);
 
    /**
     * 用户与病房信息
     *
     * @param sysUser
     * @return
     */
    public List<SysUserDept> yhybfxx(SysUser sysUser);
 
    /**
     * 用户与院区信息
     *
     * @param sysUser
     * @return
     */
    public List<SysUserOrg> yhyyqxx(SysUser sysUser);
    /**
     * 出入院信息
     *
     * @param patMedInhosp
     * @return
     */
    public List<PatMedInhosp> selectPatMedInhospList(PatMedInhosp patMedInhosp);
 
    public Long selectPatMedInhospListCount(PatMedInhosp patMedInhosp);
 
    List<PatArchive> selectPatArchiveListByLastId(@Param("lastRowNumber") long lastRowNumber, @Param("ps") int ps);
 
    List<PatMedInhosp> selectPatMedInhospListByLastId(@Param("lastRowNumber") long lastRowNumber, @Param("ps") int ps);
 
    public Long selectPatArchiveCount(PatMedInhosp patMedInhosp);
 
    /**
     * 门急诊信息
     *
     * @param patMedOuthosp
     * @return
     */
    public List<PatMedOuthosp> selectPatMedOuthospList(PatMedOuthosp patMedOuthosp);
 
 
    /**
     * /**
     * 查询疾病列表
     *
     * @param icd10 疾病
     * @return 疾病集合
     */
    public List<Icd10> selectIcd10List(Icd10 icd10);
 
    /**
     * 根据条件分页查询用户列表
     *
     * @param sysUser 用户信息
     * @return 用户信息集合信息
     */
    public List<SysUser> selectUserList(SysUser sysUser);
 
    /**
     * 查询部门管理数据
     *
     * @param dept 部门信息
     * @return 部门信息集合
     */
    public List<SysDept> selectDeptList(SysDept dept);
 
    /**
     * 查询返回strign sql
     * @param sql
     * @return
     */
    @Select({"${sql}"})
    String getSqlString(@Param("sql") String sql);
 
    /**
     * 查询sql
     * @param sql
     * @return
     */
    @Select({"${sql}"})
    List<Map<String, Object>> getList(@Param("sql") String sql);
 
 
    /**
     * 查询sql
     * @param sql
     */
    @Update({"${sql}"})
    Integer updateSql(@Param("sql") String sql);
}