From 0c870ae5b2af348e19b10cc1a99f103f95c5a1cc Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期六, 21 六月 2025 11:47:09 +0800 Subject: [PATCH] 1、通信中间件重构MQTT相关下行命令的逻辑; 2、remote模块完善MQTT相关下行命令解除报警、搅拌启停、注肥启停、灌溉启停功能类; --- 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