From b042d6a5ae1959ad79b489e1d0b01c057b68d5f6 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 19 六月 2025 10:45:44 +0800 Subject: [PATCH] 水肥机、墒情站、气象站增、改、查、删功能实现 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrStWeatherMapper.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrStWeatherMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrStWeatherMapper.java index 3c0d6b3..0a66151 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrStWeatherMapper.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrStWeatherMapper.java @@ -2,7 +2,10 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.dy.pipIrrGlobal.pojoPr.PrStWeather; +import com.dy.pipIrrGlobal.voPr.VoMqttSimple; import org.apache.ibatis.annotations.Mapper; + +import java.util.List; /** * @Author: liurunyu @@ -13,12 +16,21 @@ public interface PrStWeatherMapper extends BaseMapper<PrStWeather> { int deleteByPrimaryKey(Long id); + /** + * 閫昏緫鍒犻櫎 + * @param id primaryKey + * @return update count + */ + int deleteLogicById(Long id); + int insert(PrStWeather record); int insertSelective(PrStWeather record); PrStWeather selectByPrimaryKey(Long id); + List<VoMqttSimple> selectAllSimple() ; + int updateByPrimaryKeySelective(PrStWeather record); int updateByPrimaryKey(PrStWeather record); -- Gitblit v1.8.0