From 742b6bbac1b4609386817a6e6fb489ec098a5490 Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期二, 21 一月 2025 18:29:44 +0800 Subject: [PATCH] 重构获取分水房详情接口 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrDivideMapper.java | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrDivideMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrDivideMapper.java index ff13c9f..3b049d1 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrDivideMapper.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrDivideMapper.java @@ -3,6 +3,8 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.dy.pipIrrGlobal.pojoPr.PrDivide; import com.dy.pipIrrGlobal.voPr.VoDivide; +import com.dy.pipIrrGlobal.voPr.VoDivideDetails; +import com.dy.pipIrrGlobal.voPr.VoSimpleDivide; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @@ -23,7 +25,12 @@ int insertSelective(PrDivide record); + /** + * 2025-01-21 搴熷純 + */ PrDivide selectByPrimaryKey(Long id); + + VoDivideDetails getDivideDetails(Long id); int updateByPrimaryKeySelective(PrDivide record); @@ -49,4 +56,18 @@ * @return */ Integer deleteDivideById(@Param("id") Long id); + + /** + * 鏍规嵁鍒嗘按鎴跨紪鍙疯幏鍙栨墍灞炵墖鍖虹紪鍙� + * @param divideId + * @return + */ + Long getBlockIdById(@Param("divideId") Long divideId); + + /** + * 鏍规嵁鐗囧尯ID鑾峰彇鍒嗘按鎴垮垪琛� + * @param blockId + * @return + */ + List<VoSimpleDivide> getDividesByBlockId(Long blockId); } \ No newline at end of file -- Gitblit v1.8.0