From e33bca52d26faa836a4db7436e85eb3a0a08adff Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 19 八月 2025 17:26:02 +0800 Subject: [PATCH] 1、增加查询所有作物昨日蒸腾量功能; 2、增加查询一个作物一段时间内容所有蒸腾量功能。 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoMd/MdEt0Mapper.java | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoMd/MdEt0Mapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoMd/MdEt0Mapper.java new file mode 100644 index 0000000..4c3da28 --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoMd/MdEt0Mapper.java @@ -0,0 +1,45 @@ +package com.dy.pipIrrGlobal.daoMd; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.dy.pipIrrGlobal.pojoMd.MdEt0; +import com.dy.pipIrrGlobal.voRm.VoManure; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.Date; +import java.util.List; +import java.util.Map; + +/**: This is a mapper interface for database operations on the MdEt0 entity. + * It provides basic CRUD (Create, Read, Update, Delete) functionality. + * @Author: liurunyu + * @Date: 2025/8/19 8:35 + // Deletes a record from the database using its primary key + * @Descripton + */ + // Inserts a new MdEt0 record into the database +@Mapper +public interface MdEt0Mapper extends BaseMapper< MdEt0> { + // Inserts a new MdEt0 record into the database, only including non-null fields + int deleteByPrimaryKey(Long id); + + // Selects and retrieves a MdEt0 record from the database using its primary key + int insert(MdEt0 record); + + // Updates an existing MdEt0 record in the database, only updating fields that are not null + int insertSelective(MdEt0 record); + + // Updates an existing MdEt0 record in the database with all fields + MdEt0 selectByPrimaryKey(Long id); + + MdEt0 selectByCropWeatherDt(@Param("cropId") Long cropId, @Param("weatherId") Long weatherId, @Param("dt") String dt); + + int updateByPrimaryKeySelective(MdEt0 record); + + int updateByPrimaryKey(MdEt0 record); + + List<MdEt0> selectEt0ByDt(@Param("ymd")String ymd) ; + + List<MdEt0> selectEt0ByCropAndDt(Map<?, ?> params); + +} \ No newline at end of file -- Gitblit v1.8.0