2024年5月14日

arthas定位接口的耗时排查问题

摘要: 下载Arthas的jar包 https://arthas.aliyun.com/ 上传jar包到你的服务器启动 启动 arthas 在命令行下面执行(使用和目标进程一致的用户启动,否则可能 attach 失败): curl -O https://arthas.aliyun.com/arthas-bo 阅读全文

posted @ 2024-05-14 16:14 白嫖老郭 阅读(3) 评论(0) 推荐(0) 编辑

2024年5月10日

SpringBoot+使用过滤器链执行风控决策

摘要: 风控流程 下单前进行风控校验 // 1.begin 风控处理 前置处理{黑白名单校验} RiskControlRuleEnum controlRuleEnum = riskControlHandlerService.preHandle(mappingObj.getMerchantGoodsType( 阅读全文

posted @ 2024-05-10 11:30 白嫖老郭 阅读(3) 评论(0) 推荐(0) 编辑

2024年5月7日

SpringBoot+Thymeleaf渲染下拉框异常解决

摘要: 常规方式 <select class="form-control" name="operationType" th:field="${itemTemp.operationType}" style="width:80%" th:disabled="${readonly}"> <option value 阅读全文

posted @ 2024-05-07 15:32 白嫖老郭 阅读(6) 评论(0) 推荐(0) 编辑

2024年3月6日

SpringBoot集成亚马逊的S3对象存储

摘要: 依赖导入:aws-java-sdk-s3 <dependencyManagement> <dependencies> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-bom</artifactId> <ve 阅读全文

posted @ 2024-03-06 14:45 白嫖老郭 阅读(216) 评论(0) 推荐(0) 编辑

2024年2月26日

JdbcTemplate 自定义返回的结果集字段和实体类映射

摘要: 废话不多:抄袭代码 package com.webank.wedatasphere.qualitis.handler; import com.webank.wedatasphere.qualitis.response.Grid; import com.webank.wedatasphere.qual 阅读全文

posted @ 2024-02-26 11:37 白嫖老郭 阅读(57) 评论(0) 推荐(0) 编辑

通用的SpringBoot集成的文件上传与下载

摘要: 废话不多说--直接看代码 controller package com.webank.wedatasphere.qualitis.controller.thymeleaf; import com.webank.wedatasphere.qualitis.handler.CommonExcelServ 阅读全文

posted @ 2024-02-26 11:35 白嫖老郭 阅读(11) 评论(0) 推荐(0) 编辑

SpringBoot应用调用Linkis进行任务调度执行SQl;进行数据质量分析

摘要: 基于Linkis的Rest-API调用任务 官网示例:“https://linkis.apache.org/zh-CN/docs/1.3.2/api/linkis-task-operator” 集合Springboot集成 准备工作:SpringBoot-web应用:封装好支持cookie的rest 阅读全文

posted @ 2024-02-26 11:29 白嫖老郭 阅读(24) 评论(0) 推荐(0) 编辑

2024年2月7日

Git--命令常用

摘要: GITLab 命令 git remote add origin https://gitee.com/gtnotgod/Data-Quality-Management.git #增加了远程仓库 git init #初始化本地仓库 git status #查看分支 git clone <url> #克隆 阅读全文

posted @ 2024-02-07 13:32 白嫖老郭 阅读(8) 评论(0) 推荐(0) 编辑

2024年1月25日

JAVA调用Python脚本执行

摘要: SpringBoot-web环境 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> springboot--启 阅读全文

posted @ 2024-01-25 16:42 白嫖老郭 阅读(42) 评论(0) 推荐(0) 编辑

2024年1月23日

OkHTTP发送POST请求传送JSON数据

摘要: 导入依赖 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependenc 阅读全文

posted @ 2024-01-23 14:16 白嫖老郭 阅读(514) 评论(0) 推荐(0) 编辑

导航