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/mapper/PatMedInhospMapper.java | 36 +++++++++++++++++++++++++++--------- 1 files changed, 27 insertions(+), 9 deletions(-) diff --git a/smartor/src/main/java/com/smartor/mapper/PatMedInhospMapper.java b/smartor/src/main/java/com/smartor/mapper/PatMedInhospMapper.java index 410c9b2..e41221d 100644 --- a/smartor/src/main/java/com/smartor/mapper/PatMedInhospMapper.java +++ b/smartor/src/main/java/com/smartor/mapper/PatMedInhospMapper.java @@ -1,19 +1,24 @@ package com.smartor.mapper; import java.util.List; + import com.smartor.domain.PatMedInhosp; +import com.smartor.domain.PatMedInhospVO; +import com.smartor.domain.PatMedReq; +import com.smartor.domain.PatMedRes; +import org.apache.ibatis.annotations.Mapper; /** * 鎮h�呬綇闄㈣褰昅apper鎺ュ彛 - * + * * @author smartor * @date 2023-03-04 */ -public interface PatMedInhospMapper -{ +@Mapper +public interface PatMedInhospMapper { /** * 鏌ヨ鎮h�呬綇闄㈣褰� - * + * * @param inhospid 鎮h�呬綇闄㈣褰曚富閿� * @return 鎮h�呬綇闄㈣褰� */ @@ -21,15 +26,17 @@ /** * 鏌ヨ鎮h�呬綇闄㈣褰曞垪琛� - * + * * @param patMedInhosp 鎮h�呬綇闄㈣褰� * @return 鎮h�呬綇闄㈣褰曢泦鍚� */ public List<PatMedInhosp> selectPatMedInhospList(PatMedInhosp patMedInhosp); + public List<PatMedInhosp> selectPatMedInhospListByCondition(PatMedInhospVO patMedInhospVO); + /** * 鏂板鎮h�呬綇闄㈣褰� - * + * * @param patMedInhosp 鎮h�呬綇闄㈣褰� * @return 缁撴灉 */ @@ -37,7 +44,7 @@ /** * 淇敼鎮h�呬綇闄㈣褰� - * + * * @param patMedInhosp 鎮h�呬綇闄㈣褰� * @return 缁撴灉 */ @@ -45,7 +52,7 @@ /** * 鍒犻櫎鎮h�呬綇闄㈣褰� - * + * * @param inhospid 鎮h�呬綇闄㈣褰曚富閿� * @return 缁撴灉 */ @@ -53,9 +60,20 @@ /** * 鎵归噺鍒犻櫎鎮h�呬綇闄㈣褰� - * + * * @param inhospids 闇�瑕佸垹闄ょ殑鏁版嵁涓婚敭闆嗗悎 * @return 缁撴灉 */ public int deletePatMedInhospByInhospids(Long[] inhospids); + + /** + * 鍑洪櫌銆佸叆闄汉鏁� + * + * @param patMedReq + * @return + */ + public PatMedRes selectPatMedInhospCount(PatMedReq patMedReq); + + + public List<PatMedRes> getDeptRanking(PatMedReq patMedReq); } -- Gitblit v1.9.3