You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
2.6 KiB
Java
102 lines
2.6 KiB
Java
package com.docus.bgts.mapper;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.docus.bgts.entity.AfCollectTask;
|
|
import com.docus.bgts.entity.CqcSubmitState;
|
|
import com.docus.bgts.entity.TBasic;
|
|
import com.docus.bgts.entity.ZdAssort;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* <p>
|
|
* 病案采集任务 Mapper 接口
|
|
* </p>
|
|
*
|
|
* @author 曾文和
|
|
* @since 2021-05-07
|
|
*/
|
|
public interface AfCollectTaskMapper extends BaseMapper<AfCollectTask> {
|
|
|
|
List<String> listJZHByDate(@Param("date1") String date1, @Param("date2") String date2);
|
|
/**
|
|
* 获取病案id通过报告唯一单号
|
|
* @param empId
|
|
* @return
|
|
*/
|
|
String getpatientIdByEmpId(@Param("jzh") String empId);
|
|
|
|
/**
|
|
* 通过封存id获取patient_id
|
|
* @param sealId
|
|
* @return
|
|
*/
|
|
String getPatientIdBysealId(@Param("sealId") String sealId);
|
|
|
|
String selectJzh(@Param("inPatientNo") String inPatientNo,@Param("examApplyDate") String examApplyDate);
|
|
|
|
|
|
TBasic selectDisDateIsNull(@Param("inPatientNo") String inPatientNo);
|
|
|
|
String selectDisDateIsNullJzh(@Param("inPatientNo") String inPatientNo,@Param("examApplyDate") String examApplyDate);
|
|
|
|
|
|
/**
|
|
* 获取assortId 通过assortId
|
|
* @param assortId
|
|
* @return
|
|
*/
|
|
String getAssortIdByAssortId(@Param("assortId") String assortId);
|
|
|
|
/**
|
|
* 获取assortId 通过assortName
|
|
* @param assortName
|
|
* @return
|
|
*/
|
|
String getAssortIdByAssortName(@Param("assortName") String assortName);
|
|
|
|
/**
|
|
* 插入表zdAssort数据
|
|
* @param zdAssort
|
|
*/
|
|
void insertZdAssort(@Param("zdAssort") ZdAssort zdAssort);
|
|
|
|
/**
|
|
* 删除af_downfile表数据
|
|
*/
|
|
int deleteByPatientIdAndCollectorId(@Param("patientId") String patientId,@Param("collectorId") String collectorId);
|
|
/**
|
|
* 删除t_scan_assort表数据
|
|
*/
|
|
int deleteByPatientIdAndAssortId(@Param("patientId") String patientId,@Param("assortId") String assortId);
|
|
/**
|
|
* 删除af_collect_task表数据
|
|
*/
|
|
int deleteByPatientIdAndSysFlag(@Param("patientId") String patientId,@Param("sysFlag") String sysFlag);
|
|
|
|
/**
|
|
* 添加医生护士提交状态
|
|
*/
|
|
int insertDoctorState(CqcSubmitState cqcSubmitState);
|
|
|
|
/**
|
|
* 修改医生护士提交状态
|
|
*/
|
|
int updateDoctorState(CqcSubmitState cqcSubmitState);
|
|
|
|
/**
|
|
* 根据patientId查询该患者是否存在
|
|
* @param patientId
|
|
* @return
|
|
*/
|
|
CqcSubmitState selectByPatientId(String patientId);
|
|
|
|
String selectPatientByjzh(String jzh);
|
|
|
|
String selectNameByPatientId(String patientId);
|
|
|
|
}
|