From 6dd90a95c5dff764f7ea6e8f61a36fc0e3bf6aa3 Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期一, 16 十二月 2024 17:20:10 +0800 Subject: [PATCH] 优化接口 获得一个取水口接口 优化传参方式、增加片区名称和地址两个字段 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoRm/UgRtuTaskMapper.java | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 44 insertions(+), 3 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 index d0f9f34..9cd7a75 100644 --- 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 @@ -1,8 +1,8 @@ package com.dy.pipIrrGlobal.daoRm; import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.dy.pipIrrGlobal.pojoRm.UgRtuProgram; -import com.dy.pipIrrGlobal.pojoRm.UgRtuTask; +import com.dy.pipIrrGlobal.pojoUg.UgRtuTask; +import com.dy.pipIrrGlobal.voUg.VoUpgradeDetail; import org.apache.ibatis.annotations.Mapper; import java.util.List; @@ -64,12 +64,24 @@ * */ 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 @@ -83,4 +95,33 @@ * @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