From 907641e56c2085aaa81f267946dc3e3e9fca73e7 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 18 九月 2024 09:39:02 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/java/com/smartor/service/IPatArchiveService.java | 39 ++++++++++++++++++++++++++++++++------- 1 files changed, 32 insertions(+), 7 deletions(-) diff --git a/smartor/src/main/java/com/smartor/service/IPatArchiveService.java b/smartor/src/main/java/com/smartor/service/IPatArchiveService.java index 1deee9f..1548f82 100644 --- a/smartor/src/main/java/com/smartor/service/IPatArchiveService.java +++ b/smartor/src/main/java/com/smartor/service/IPatArchiveService.java @@ -2,8 +2,10 @@ import java.util.List; -import com.smartor.domain.PatArchive; -import com.smartor.domain.PatUpInfoVO; +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; @@ -30,21 +32,24 @@ */ 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�呮。妗� @@ -65,8 +70,28 @@ /** * 鎮h�呬俊鎭壒閲忔彃鍏� * - * @param title + * @param tags * @param file */ - public PatUpInfoVO fileHandle( String username, MultipartFile 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