From 5f54ba90abcc0ccf1b578472eac54fc98056767c Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期二, 08 四月 2025 17:15:13 +0800 Subject: [PATCH] 灌溉计划终止接口,包括远程关阀和取消灌溉计划 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java | 79 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 79 insertions(+), 0 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 new file mode 100644 index 0000000..dc5bad0 --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDivideMapper.java @@ -0,0 +1,79 @@ +package com.dy.pipIrrGlobal.daoBa; + +import com.dy.pipIrrGlobal.pojoBa.BaDivide; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; +import java.util.Map; + +@Mapper +public interface BaDivideMapper { + + /** + * select by primary key + * @param id primary key + * @return object by primary key + */ + BaDivide selectByPrimaryKey(Long id); + + /** + * 寰楀埌鍏ㄩ儴瀹炰綋 + * @return 鍏ㄩ儴瀹炰綋 + * */ + List<BaDivide> selectAll(); + + /** + * 鏌ヨ鎬绘暟 + * @param params 鏌ヨ鏉′欢 + * @return 鎬绘暟 + * */ + Long selectTotal(Map<?,?> params); + + /** + * 鍒嗛〉鏌ヨ涓�浜� + * @param params 鏌ヨ鏉′欢 + * @return 瀹炰綋闆嗗悎 + * */ + List<BaDivide> selectSome(Map<?,?> params); + + /** + * insert record to table + * @param record the record + * @return insert count + */ + int putin(BaDivide record); + + /** + * insert record to table selective + * @param record the record + * @return insert count + */ + int insertSelective(BaDivide record); + + /** + * update record selective + * @param record the updated record + * @return update count + */ + int updateByPrimaryKeySelective(BaDivide record); + + /** + * update record + * @param record the updated record + * @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