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.Icd10; 
 | 
import com.smartor.domain.PatArchive; 
 | 
import com.smartor.domain.PatMedInhosp; 
 | 
import com.smartor.domain.PatMedOuthosp; 
 | 
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 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); 
 | 
} 
 |