From ea58523b67ad59002a1191c3c564258c5b81f6f2 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 06 五月 2025 17:35:16 +0800 Subject: [PATCH] Revert "1、实现万用token(0000-0000-1234-9876-5); 2、web端单独实现命令结果等待器,并修改相关部分; 3、web端实现透传命令; 4、修改一些不当注释; 5、优化一些代码。" --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 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 index 2b4891a..b27dfd9 100644 --- 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 @@ -6,6 +6,7 @@ import org.apache.ibatis.annotations.Param; import java.util.List; +import java.util.Map; /** * @Author liurunyu @@ -21,6 +22,12 @@ * @return deleteCount */ int deleteByPrimaryKey(Long id); + + /** + * 娓呯┖娴佹氮鎺у埗鍣ㄨ〃 + * @return + */ + int emptyTrampController(); /** * insert record to table @@ -63,4 +70,31 @@ * @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