From 437713ee567f25c04f094057a1908b6dc54eeefd Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 16 十一月 2023 16:57:29 +0800 Subject: [PATCH] 1、农户类型管理 2、农户管理 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java | 29 ++++++++++++++++++----------- 1 files changed, 18 insertions(+), 11 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java index a0a09d6..b22af31 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java @@ -5,12 +5,13 @@ @Mapper public interface BaDivideMapper { + /** - * delete by primary key - * @param id primaryKey - * @return deleteCount + * select by primary key + * @param id primary key + * @return object by primary key */ - int deleteByPrimaryKey(Long id); + BaDivide selectByPrimaryKey(Long id); /** * insert record to table @@ -27,13 +28,6 @@ int insertSelective(BaDivide record); /** - * select by primary key - * @param id primary key - * @return object by primary key - */ - BaDivide selectByPrimaryKey(Long id); - - /** * update record selective * @param record the updated record * @return update count @@ -46,4 +40,17 @@ * @return update count */ int updateByPrimaryKey(BaDivide record); + /** + * 瀹為檯鍒犻櫎 + * @param id primaryKey + * @return deleteCount + */ + int deleteByPrimaryKey(Long id); + /** + * 閫昏緫鍒犻櫎 + * @param id primaryKey + * @return deleteCount + */ + int deleteLogicById(Long id); + } \ No newline at end of file -- Gitblit v1.8.0