From e8937f27fce194d015ce6c27d286e7fc89f5e580 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 23 四月 2025 17:29:47 +0800 Subject: [PATCH] 查询开关阀记录相关修改 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoRm/UgRtuTaskMapper.java | 127 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 127 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoRm/UgRtuTaskMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoRm/UgRtuTaskMapper.java new file mode 100644 index 0000000..9cd7a75 --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoRm/UgRtuTaskMapper.java @@ -0,0 +1,127 @@ +package com.dy.pipIrrGlobal.daoRm; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.dy.pipIrrGlobal.pojoUg.UgRtuTask; +import com.dy.pipIrrGlobal.voUg.VoUpgradeDetail; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; +import java.util.Map; + +/** + * @Author: liurunyu + * @Date: 2024/11/5 9:09 + * @Description + */ +@Mapper +public interface UgRtuTaskMapper extends BaseMapper<UgRtuTask> { + + /** + * 閫昏緫鍒犻櫎 + * @param id primaryKey + * @return update count + */ + int deleteLogicById(Long id); + + /** + * delete by primary key + * @param id primaryKey + * @return deleteCount + */ + int deleteByPrimaryKey(Long id); + + /** + * insert record to table + * @param record the record + * @return insert count + */ + int insert(UgRtuTask record); + + /** + * insert record to table selective + * @param record the record + * @return insert count + */ + int insertSelective(UgRtuTask record); + + /** + * select by primary key + * @param id primary key + * @return object by primary key + */ + UgRtuTask selectByPrimaryKey(Long id); + /** + * 鏌ヨ鎬绘暟 + * @param params 鏌ヨ鏉′欢 + * @return 鎬绘暟 + * */ + Long selectTotal(Map<?,?> params); + + /** + * 鍒嗛〉鏌ヨ涓�浜� + * @param params 鏌ヨ鏉′欢 + * @return 瀹炰綋闆嗗悎 + * */ + List<UgRtuTask> selectSome(Map<?,?> params) ; + + /** + * 寰楀埌鎵�鏈夊崌绾х▼搴忚褰旾D鍜屾枃浠跺悕绉� + * @return 瀹炰綋闆嗗悎 + * */ + List<UgRtuTask> selectAll() ; + + /** + * 鏌ヨ涓�涓崌绾т换鍔℃墍鏈夋帶鍒跺櫒鍦板潃 + * @return 涓�浜涗竴浜涙帶鍒跺櫒鍦板潃 + */ + List<VoUpgradeDetail> selectTaskDetail(Long taskId) ; + + /** + * 鏌ヨ鏈�鏂颁竴鏉′换鍔� + * @return + */ + UgRtuTask selectLastTask() ; + + /** + * update record selective + * @param record the updated record + * @return update count + */ + int updateByPrimaryKeySelective(UgRtuTask record); + + /** + * update record + * @param record the updated record + * @return update count + */ + int updateByPrimaryKey(UgRtuTask record); + /** + * execute by primary key + * @param id primaryKey + * @return deleteCount + */ + int executeById(Long id); + + /** + * over by primary key + * @param id primaryKey + * @return deleteCount + */ + int overById(Long id); + + /** + * is execute by primary key + * @param id primaryKey + * @return deleteCount + */ + int isExecuteById(Long id); + + /** + * is over by primary key + * @param id primaryKey + * @return deleteCount + */ + int isOverById(Long id); + + +} \ No newline at end of file -- Gitblit v1.8.0