From f8bb88c72b8a0fa04a97a9d217f1decd9d33cee1 Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期二, 27 二月 2024 10:19:48 +0800 Subject: [PATCH] 修改取水口查询 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java | 65 ++++++++++++++++++-------------- 1 files changed, 37 insertions(+), 28 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java index 2105c40..6316a23 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java @@ -2,41 +2,16 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.dy.pipIrrGlobal.pojoBa.BaBlock; +import com.dy.pipIrrGlobal.pojoBa.BaClientType; import com.dy.pipIrrGlobal.pojoBa.BaPrivilege; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; @Mapper -public interface BaBlockMapper extends BaseMapper<BaPrivilege> { - /** - * delete by primary key - * @param id primaryKey - * @return deleteCount - */ - int deleteByPrimaryKey(Long id); - - /** - * 閫昏緫鍒犻櫎 - * @param id primaryKey - * @return update count - */ - int deleteLogicById(Long id); - - /** - * insert record to table - * @param record the record - * @return insert count - */ - int insert(BaBlock record); - - /** - * insert record to table selective - * @param record the record - * @return insert count - */ - int insertSelective(BaBlock record); +public interface BaBlockMapper extends BaseMapper<BaBlock> { /** * select by primary key @@ -44,6 +19,13 @@ * @return object by primary key */ BaBlock selectByPrimaryKey(Long id); + + + /** + * 寰楀埌鍏ㄩ儴瀹炰綋 + * @return 鍏ㄩ儴瀹炰綋 + */ + List<BaBlock> selectAll() ; /** @@ -61,6 +43,20 @@ List<BaBlock> selectSome(Map<?, ?> params) ; /** + * insert record to table + * @param record the record + * @return insert count + */ + int putin(BaBlock record); + + /** + * insert record to table selective + * @param record the record + * @return insert count + */ + int insertSelective(BaBlock record); + + /** * update record selective * @param record the updated record * @return update count @@ -73,4 +69,17 @@ * @return update count */ int updateByPrimaryKey(BaBlock record); + /** + * 瀹為檯鍒犻櫎 + * @param id primaryKey + * @return deleteCount + */ + int deleteByPrimaryKey(Long id); + + /** + * 閫昏緫鍒犻櫎 + * @param id primaryKey + * @return update count + */ + int deleteLogicById(Long id); } \ No newline at end of file -- Gitblit v1.8.0