File was renamed from pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoRm/RmLossLastMapper.java |
| | |
| | | package com.dy.pipIrrGlobal.daoRm; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dy.pipIrrGlobal.pojoRm.RmLossHistory; |
| | | import com.dy.pipIrrGlobal.pojoRm.RmLossLast; |
| | | import com.dy.pipIrrGlobal.pojoRm.RmLossDayLast; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.Date; |
| | |
| | | * @Description |
| | | */ |
| | | @Mapper |
| | | public interface RmLossLastMapper extends BaseMapper<RmLossLast> { |
| | | public interface RmLossDayLastMapper extends BaseMapper<RmLossDayLast> { |
| | | /** |
| | | * delete by primary key |
| | | * @param id primaryKey |
| | |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insert(RmLossLast record); |
| | | int insert(RmLossDayLast record); |
| | | |
| | | /** |
| | | * insert record to table selective |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insertSelective(RmLossLast record); |
| | | int insertSelective(RmLossDayLast record); |
| | | |
| | | /** |
| | | * select by primary key |
| | | * @param id primary key |
| | | * @return object by primary key |
| | | */ |
| | | RmLossLast selectByPrimaryKey(Long id); |
| | | RmLossDayLast selectByPrimaryKey(Long id); |
| | | |
| | | /** |
| | | * select by rtuAddr |
| | | * @param intakeId 控制器所绑取水口ID |
| | | * @return object by rtuAddr |
| | | */ |
| | | List<RmLossLast> selectByIntakeId(Long intakeId) ; |
| | | List<RmLossDayLast> selectByIntakeId(Long intakeId) ; |
| | | /** |
| | | * select by dt |
| | | * @param date 日期(yyyy-mm-dd) |
| | | * @return object by rtuAddr |
| | | */ |
| | | List<RmLossLast> selectByDate(Date date) ; |
| | | List<RmLossDayLast> selectByDate(Date date) ; |
| | | |
| | | /** |
| | | * update record selective |
| | | * @param record the updated record |
| | | * @return update count |
| | | */ |
| | | int updateByPrimaryKeySelective(RmLossLast record); |
| | | int updateByPrimaryKeySelective(RmLossDayLast record); |
| | | |
| | | /** |
| | | * update record |
| | | * @param record the updated record |
| | | * @return update count |
| | | */ |
| | | int updateByPrimaryKey(RmLossLast record); |
| | | int updateByPrimaryKey(RmLossDayLast record); |
| | | } |