From 1a2b07f01ba4616fd9e894dddf474b56d020158c Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期一, 07 四月 2025 15:18:51 +0800 Subject: [PATCH] 整理版本 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 100 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java new file mode 100644 index 0000000..b27dfd9 --- /dev/null +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java @@ -0,0 +1,100 @@ +package com.dy.pipIrrGlobal.daoPr; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.dy.pipIrrGlobal.pojoPr.PrControllerTramp; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.List; +import java.util.Map; + +/** + * @Author liurunyu + * @Date 2024/1/15 15:27 + * @LastEditTime 2024/1/15 15:27 + * @Description + */ +@Mapper +public interface PrControllerTrampMapper extends BaseMapper<PrControllerTramp> { + /** + * delete by primary key + * @param id primaryKey + * @return deleteCount + */ + int deleteByPrimaryKey(Long id); + + /** + * 娓呯┖娴佹氮鎺у埗鍣ㄨ〃 + * @return + */ + int emptyTrampController(); + + /** + * insert record to table + * @param record the record + * @return insert count + */ + int insert(PrControllerTramp record); + + /** + * insert record to table selective + * @param record the record + * @return insert count + */ + int insertSelective(PrControllerTramp record); + + /** + * select by primary key + * @param id primary key + * @return object by primary key + */ + PrControllerTramp selectByPrimaryKey(Long id); + + /** + * select by RtuAddr + * @param rutAddr 鎺у埗鍣ㄥ湴鍧� + * @return object by 鎺у埗鍣ㄥ湴鍧� + */ + List<PrControllerTramp> getPrControllerTrampByRtuAddr(String rutAddr); + + /** + * update record selective + * @param record the updated record + * @return update count + */ + int updateByPrimaryKeySelective(PrControllerTramp record); + + /** + * update record + * @param record the updated record + * @return update count + */ + int updateByPrimaryKey(PrControllerTramp record); + + /** + * 鏍规嵁鎺у埗鍣ㄧ紪鍙疯幏鍙栨祦娴帶鍒跺櫒鍦板潃 + * @param controllerId 娴佹氮鎺у埗鍣ㄧ紪鍙� + * @return 璁板綍鏁伴噺 + */ + //String getTrampRtuAddr(@Param("controllerId") Long controllerId); + + /** + * 鏍规嵁鎺у埗鍣ㄧ紪鍙疯幏鍙栨祦娴帶鍒跺櫒淇℃伅 + * @param controllerId + * @return + */ + PrControllerTramp getTrampControllerInfo(@Param("controllerId") Long controllerId); + + /** + * 鏉′欢鏌ヨ娴佹氮鎺у埗鍣ㄤ俊鎭� + * @param + * @return + */ + List<PrControllerTramp> getTrampControllers(Map<?, ?> params); + /** + * 鏉′欢鏌ヨ娴佹氮鎺у埗鍣ㄦ暟閲� + * @param + * @return recordCount + */ + Long getTrampControllersCount(Map<?, ?> params); +} \ No newline at end of file -- Gitblit v1.8.0