wuzeyu
2024-12-18 5bd9c0d0e82d6e2b0de5fa39461c3f79bacc5b90
Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV
2个文件已添加
1个文件已修改
60 ■■■■■ 已修改文件
pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempCtrl.java 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempSv.java 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pipIrr-platform/pipIrr-web/pipIrr-web-temp/说明.txt 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempCtrl.java
New file
@@ -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版本越高,对泛型约束越严,所以配置SuppressWarnings("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);
    }
}
pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempSv.java
New file
@@ -0,0 +1,17 @@
package com.dy.pipIrrTemp.test;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
/**
 * @Author: liurunyu
 * @Date: 2024/12/17 8:53
 * @Description
 */
@Slf4j
@Service
public class Test4TempSv {
    public String doSome(){
        return "我是测试" ;
    }
}
pipIrr-platform/pipIrr-web/pipIrr-web-temp/˵Ã÷.txt
@@ -2,6 +2,8 @@
系统正式运行不需要这个模块
执行功能:
0、测试
/temp/test/doSome
1、删除一些漏损统计---重复数据
/temp/delSome/deleteSomeStatisticLossAmount
2、删除一些取水口统计---重复数据