From 02d965a2ff0cb5d415cedceacd2ae90c7ec1ac39 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期六, 10 五月 2025 09:03:50 +0800 Subject: [PATCH] 解决开关阀记录数据因重绑定或改RTU地址而引起的地址变更问题 --- pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempCtrl.java | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempCtrl.java new file mode 100644 index 0000000..8de7606 --- /dev/null +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempCtrl.java @@ -0,0 +1,41 @@ +package com.dy.pipIrrTemp.test; + +import com.dy.common.aop.SsoAop; +import com.dy.common.webUtil.BaseResponse; +import com.dy.common.webUtil.BaseResponseUtils; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * @Author: liurunyu + * @Date: 2024/12/17 8:52 + * @Description + */ +@Slf4j +@RestController +@RequestMapping(path = "test") +@SuppressWarnings("unchecked")//java鐗堟湰瓒婇珮锛屽娉涘瀷绾︽潫瓒婁弗锛屾墍浠ラ厤缃甋uppressWarnings("unchecked") +public class Test4TempCtrl { + + private Test4TempSv sv; + + @Autowired + private void setSv(Test4TempSv sv) { + this.sv = sv; + } + + + /** + * 鍒犻櫎涓�浜涙紡鎹熺粺璁� + * @return + */ + @GetMapping(path = "doSome") + @SsoAop() + public BaseResponse<Boolean> doSome(){ + this.sv.doSome(); + return BaseResponseUtils.buildSuccess(true); + } +} -- Gitblit v1.8.0