|
|
|
@ -6,12 +6,13 @@ import org.apache.ibatis.annotations.Param;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
public interface TBasicMapper{
|
|
|
|
|
List<String> getPatientIdsByInpatientNoAndTimes(@Param("inpatientNo")String inHospIndexNo, @Param("admissTimes") Integer visitNo);
|
|
|
|
|
public interface TBasicMapper {
|
|
|
|
|
List<String> getPatientIdsByInpatientNoAndTimes(@Param("inpatientNo") String inHospIndexNo, @Param("admissTimes") Integer visitNo);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新医生提交时间
|
|
|
|
|
* @param patientId 病案主键
|
|
|
|
|
*
|
|
|
|
|
* @param patientId 病案主键
|
|
|
|
|
* @param submitTime 提交时间
|
|
|
|
|
* @return database操作行
|
|
|
|
|
*/
|
|
|
|
@ -19,7 +20,8 @@ public interface TBasicMapper{
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新护士提交时间
|
|
|
|
|
* @param patientId 病案主键
|
|
|
|
|
*
|
|
|
|
|
* @param patientId 病案主键
|
|
|
|
|
* @param submitTime 提交时间
|
|
|
|
|
* @return database操作行
|
|
|
|
|
*/
|
|
|
|
@ -27,9 +29,18 @@ public interface TBasicMapper{
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新护理文件数量
|
|
|
|
|
*
|
|
|
|
|
* @param patientId 病案主键
|
|
|
|
|
* @param fileCount 文件数量
|
|
|
|
|
* @return database操作行
|
|
|
|
|
*/
|
|
|
|
|
int insertOrUpdateNurseFileCount(@Param("patientId")String patientId,@Param("fileCount") Integer fileCount);
|
|
|
|
|
int insertOrUpdateNurseFileCount(@Param("patientId") String patientId, @Param("fileCount") Integer fileCount);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据病案主键查询出院病案的数量,一般用于判断病案是否出院
|
|
|
|
|
*
|
|
|
|
|
* @param patientId 病案主键
|
|
|
|
|
* @return 出院数量
|
|
|
|
|
*/
|
|
|
|
|
int getDischargeCount(@Param("patientId") String patientId);
|
|
|
|
|
}
|
|
|
|
|