From 7d885c1d4c86f40927af50e6e7bfa13aac0c2180 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 21 十二月 2023 21:47:15 +0800
Subject: [PATCH] 1、common模块优化代码,Command命令中增加RTU命令结果返回webRul; 2、通信中间件增加了接收http下发RTU命令和内部命令的Controler; 3、RTU模拟器和控制器增加了上报完数据是否关闭TCP连接的控制。

---
 pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/clientType/ClientTypeCtrl.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/clientType/ClientTypeCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/clientType/ClientTypeCtrl.java
index f93d252..74829e8 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/clientType/ClientTypeCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/clientType/ClientTypeCtrl.java
@@ -53,7 +53,7 @@
             )
     })
     @GetMapping(path = "all")
-    @SsoAop("-1")
+    @SsoAop()
     public BaseResponse<QueryResultVo<List<BaClientType>>> all(){
         try {
             QueryResultVo<List<BaClientType>> res = this.sv.selectAll() ;
@@ -78,7 +78,7 @@
             )
     })
     @PostMapping(path = "some", consumes = MediaType.APPLICATION_JSON_VALUE)
-    @SsoAop("-1")
+    @SsoAop()
     public BaseResponse<QueryResultVo<List<BaClientType>>> some(@RequestBody @Parameter(description = "鏌ヨform琛ㄥ崟json鏁版嵁", required = true) @Valid QueryVo vo){
         try {
             QueryResultVo<List<BaClientType>> res = this.sv.selectSome(vo) ;
@@ -103,7 +103,7 @@
             )
     })
     @GetMapping(path = "one", consumes = MediaType.TEXT_PLAIN_VALUE)
-    @SsoAop("-1")
+    @SsoAop()
     public BaseResponse<BaClientType> one(@Parameter(description = "瀹炰綋id", required = true) Long id){
         return BaseResponseUtils.buildSuccess(this.sv.selectById(id));
     }
@@ -123,7 +123,7 @@
             )
     })
     @PostMapping(path = "save", consumes = MediaType.APPLICATION_JSON_VALUE)
-    @SsoAop("-1")//@SsoAop(power = "-1")
+    @SsoAop()
     public BaseResponse<Boolean> save(@RequestBody @Parameter(description = "form琛ㄥ崟json鏁版嵁", required = true) @Valid BaClientType po, @Parameter(hidden = true) BindingResult bindingResult){
         if(bindingResult != null && bindingResult.hasErrors()){
             return BaseResponseUtils.buildFail(Objects.requireNonNull(bindingResult.getFieldError()).getDefaultMessage());
@@ -158,7 +158,7 @@
             )
     })
     @PostMapping(path = "update", consumes = MediaType.APPLICATION_JSON_VALUE)
-    @SsoAop("-1")//@SsoAop(power = "-1")
+    @SsoAop()
     public BaseResponse<Boolean> update(@RequestBody @Parameter(description = "form琛ㄥ崟json鏁版嵁", required = true) @Valid BaClientType po, @Parameter(hidden = true) BindingResult bindingResult){
         if(bindingResult != null && bindingResult.hasErrors()){
             return BaseResponseUtils.buildFail(Objects.requireNonNull(bindingResult.getFieldError()).getDefaultMessage());
@@ -196,7 +196,7 @@
             )
     })
     @GetMapping(path = "delete", consumes = MediaType.TEXT_PLAIN_VALUE)
-    @SsoAop("-1")//@SsoAop(power = "-1")
+    @SsoAop()
     public BaseResponse<Boolean> delete(@Parameter(description = "瀹炰綋id", required = true) Long id){
         if(id == null){
             return BaseResponseUtils.buildFail("id涓嶈兘涓虹┖") ;

--
Gitblit v1.8.0