From cc21e79cd80345b97cc899ddff02c962d4f432fc Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期三, 23 四月 2025 14:48:03 +0800 Subject: [PATCH] feat(irrigate): 增加轮灌组名称重复性检查功能 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaClientTypeMapper.java | 80 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 80 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaClientTypeMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaClientTypeMapper.java new file mode 100644 index 0000000..9b273d3 --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaClientTypeMapper.java @@ -0,0 +1,80 @@ +package com.dy.pipIrrGlobal.daoBa; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.dy.pipIrrGlobal.pojoBa.BaClientType; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; +import java.util.Map; + +@Mapper +public interface BaClientTypeMapper extends BaseMapper<BaClientType> { + /** + * 閫氳繃ID寰楀埌绫诲瀷鍚嶇О + * @param id 涓婚敭 + * @return 鍚嶇О + */ + String selectNameById(Long id) ; + + /** + * 寰楀埌鍏ㄩ儴瀹炰綋 + * @return 鍏ㄩ儴瀹炰綋 + */ + List<BaClientType> selectAll() ; + + /** + * 閫氳繃ID寰楀埌瀹炰綋 + * @param id 瀹炰綋ID + * @return 瀹炰綋 + */ + BaClientType selectByPrimaryKey(Long id) ; + + + /** + * 鏌ヨ鎬绘暟 + * @param params 鏌ヨ鏉′欢 + * @return 鎬绘暟 + */ + Long selectTotal(Map<?, ?> params) ; + + /** + * 鍒嗛〉鏌ヨ涓�浜� + * @param params 鏌ヨ鏉′欢 + * @return 瀹炰綋闆嗗悎 + */ + List<BaClientType> selectSome(Map<?, ?> params) ; + + /** + * insert record to table + * @param record the record + * @return insert count + */ + int putin(BaClientType record); + + /** + * insert record to table selective + * @param record the record + * @return insert count + */ + int insertSelective(BaClientType record); + + /** + * update record selective + * @param record the updated record + * @return update count + */ + int updateByPrimaryKeySelective(BaClientType record); + + /** + * update record + * @param record the updated record + * @return update count + */ + int updateByPrimaryKey(BaClientType record); + + /** + * 閫氳繃ID鍒犻櫎 + * @param id 涓婚敭 + */ + void deleteByPrimaryKey(Long id) ; +} \ No newline at end of file -- Gitblit v1.8.0