From 562a960261b75d70abd65aa10528f09aeece94e8 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期二, 24 九月 2024 09:49:23 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/java/com/smartor/service/IPatArchiveService.java | 64 +++++++++++++++++++++++++------- 1 files changed, 50 insertions(+), 14 deletions(-) diff --git a/smartor/src/main/java/com/smartor/service/IPatArchiveService.java b/smartor/src/main/java/com/smartor/service/IPatArchiveService.java index 6b77d52..1548f82 100644 --- a/smartor/src/main/java/com/smartor/service/IPatArchiveService.java +++ b/smartor/src/main/java/com/smartor/service/IPatArchiveService.java @@ -1,19 +1,24 @@ package com.smartor.service; import java.util.List; -import com.smartor.domain.PatArchive; + +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.domain.entity.SysUser; +import com.smartor.domain.*; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.multipart.MultipartFile; /** * 鎮h�呮。妗圫ervice鎺ュ彛 - * + * * @author smartor - * @date 2023-03-01 + * @date 2023-03-04 */ -public interface IPatArchiveService -{ +public interface IPatArchiveService { /** * 鏌ヨ鎮h�呮。妗� - * + * * @param patid 鎮h�呮。妗堜富閿� * @return 鎮h�呮。妗� */ @@ -21,31 +26,34 @@ /** * 鏌ヨ鎮h�呮。妗堝垪琛� - * + * * @param patArchive 鎮h�呮。妗� * @return 鎮h�呮。妗堥泦鍚� */ public List<PatArchive> selectPatArchiveList(PatArchive patArchive); + /** * 鏂板鎮h�呮。妗� - * + * * @param patArchive 鎮h�呮。妗� * @return 缁撴灉 */ - public int insertPatArchive(PatArchive patArchive); + public Integer insertPatArchive(PatArchive patArchive); /** * 淇敼鎮h�呮。妗� - * - * @param patArchive 鎮h�呮。妗� + * + * @param patArchiveVO 鎮h�呮。妗� * @return 缁撴灉 */ - public int updatePatArchive(PatArchive patArchive); + public Boolean saveOrUpdatePatInfo(PatArchiveVO patArchiveVO); + + public Boolean update(PatArchive patArchive); /** * 鎵归噺鍒犻櫎鎮h�呮。妗� - * + * * @param patids 闇�瑕佸垹闄ょ殑鎮h�呮。妗堜富閿泦鍚� * @return 缁撴灉 */ @@ -53,9 +61,37 @@ /** * 鍒犻櫎鎮h�呮。妗堜俊鎭� - * + * * @param patid 鎮h�呮。妗堜富閿� * @return 缁撴灉 */ public int deletePatArchiveByPatid(Long patid); + + /** + * 鎮h�呬俊鎭壒閲忔彃鍏� + * + * @param tags + * @param file + */ + public PatUpInfoVO importFilehandle(SysUser user, String tags, MultipartFile file); + + /** + * 瀵煎嚭鎮h�呴敊璇俊鎭� + * + * @param patArchiveList + * @return + */ + public String exportErrPatInfo(List<PatArchive> patArchiveList); + + + public List<PatArchive> patInfoByContion(PatArchiveReq patArchive); + + + public List<PatArchivetagAndPatientInfo> patTagByContion(List<Long> tagids); + + public List<PatArchivetagAndPatientInfo> patInfoByTag(List<Long> tagids); + + public List<Object> getUserTreatmentInfo(String pid, String type); + + public List<PatArchiveOthreInfo> getPatientInfo(PatArchiveReq patArchiveReq); } -- Gitblit v1.9.3