From a0a9fc7a58a39626a395d2760194641726e1cd35 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期五, 25 四月 2025 10:48:15 +0800 Subject: [PATCH] 1、微信小程序后端轮灌迟延时长改为可配置的; 2、微信小程序查询取水口接口实现修改,改为后端模糊查询; --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigateUnitMapper.java | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigateUnitMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigateUnitMapper.java new file mode 100644 index 0000000..1c80909 --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigateUnitMapper.java @@ -0,0 +1,54 @@ +package com.dy.pipIrrGlobal.daoIr; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.dy.pipIrrGlobal.pojoIr.IrIrrigateUnit; +import com.dy.pipIrrGlobal.voIr.VoUnit; +import com.dy.pipIrrGlobal.voIr.VoUnitOne; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; +import java.util.Map; + +/** + * @author :WuZeYu + * @Date :2024/5/16 18:23 + * @LastEditTime :2024/5/16 18:23 + * @Description + */ +@Mapper +public interface IrIrrigateUnitMapper extends BaseMapper<IrIrrigateUnit> { + //澧� + int insertSelective(IrIrrigateUnit record); + + //鍒� + int deleteLogicById(Long id); + + //鏀� + int updateByPrimaryKeySelective(IrIrrigateUnit record); + + //鏌ヤ竴涓� + VoUnitOne selectById(Long id); + + /** + * 鏍规嵁鎸囧畾鏉′欢鑾峰彇鍙栨按鍙h褰曟暟 + * + * @param params + * @return + */ + Long getRecordCount(Map<?, ?> params); + + /** + * 鏍规嵁鎸囧畾鏉′欢鑾峰彇鍙栨按鍙h褰� + * + * @param params + * @return + */ + List<VoUnit> getUnits(Map<?, ?> params); + + /** + * 鏍规嵁鐏屾簤鍗曞厓ID鑾峰彇鍙栨按鍙D + * @param unitId + * @return + */ + Long getIntakeIdByUnitId(Long unitId); +} -- Gitblit v1.8.0