From a5e68895029a10d6134df9d13c6925c752bf1f7b Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期一, 08 一月 2024 13:10:44 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeMapper.java | 88 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 88 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeMapper.java new file mode 100644 index 0000000..753a980 --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeMapper.java @@ -0,0 +1,88 @@ +package com.dy.pipIrrGlobal.daoPr; + + +import com.dy.pipIrrGlobal.pojoPr.PrIntake; +import com.dy.pipIrrGlobal.voPr.VoIntake; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.List; +import java.util.Map; + +/** + * @author wuzeyu + * @date 2023/12/26 13:56 + * @LastEditTime 2023/12/26 13:56 + * @Description + */ +@Mapper +public interface PrIntakeMapper { + + /** + * select by primary key + * @param id primary key + * @return object by primary key + */ + PrIntake selectByPrimaryKey(Long id); + + /** + * 寰楀埌鍏ㄩ儴瀹炰綋 + * @return 鍏ㄩ儴瀹炰綋 + * */ + List<PrIntake> selectAll(); + + /** + * 閫昏緫鍒犻櫎 + * @param id primaryKey + * @return deleteCount + */ + int deleteLogicById(Long id); + + /** + * 瀹為檯鍒犻櫎 + * @param id primaryKey + * @return deleteCount + */ + int deleteByPrimaryKey(Long id); + + int insert(PrIntake record); + + int insertSelective(PrIntake record); + + /** + * update record + * @param record the updated record + * @return update count + */ + int updateByPrimaryKey(PrIntake record); + + /** + * update record selective + * @param record the updated record + * @return update count + */ + int updateByPrimaryKeySelective(PrIntake record); + + /** + * 鏍规嵁鎸囧畾鏉′欢鑾峰彇鍙栨按鍙h褰曟暟 + * @param params + * @return + */ + Long getRecordCount(Map<?, ?> params); + + /** + * 鏍规嵁鎸囧畾鏉′欢鑾峰彇鍙栨按鍙h褰� + * @param params + * @return + */ + List<VoIntake> getIntakes(Map<?, ?> params); + + Long getSupperByVillageId(long vaId); + + /** + * 鏍规嵁鍙栨按鍙g紪鍙疯幏鍙栨湭鍒犻櫎鐨勫彇姘村彛鏁伴噺 + * @param intakeId + * @return + */ + Integer getRecordCountOfIntake(@Param("intakeId") Long intakeId); +} -- Gitblit v1.8.0