AndroidStudio-lombok
发表于
安装 lombok 插件从插件市场下载或从官网下载后离线安装 安装 lombok gradle 依赖app build.gradle 文件 12annotationProcessor 'org.projectlombok:lombok:1.18.10'compileOnly 'org.projectlombok:lombok:1.18.10'
Android-配置签名文件
app/build.gradle123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778apply plugin: 'com.android.application'android { compileSdkVersion 29 buildToolsVersion '28.0.3' defaultConfig { applicationId "com.bjtcrj.demo" minSdkVersion 21 targetSdkVersion 26 //建议此属性值设为21 io.dcloud.PandoraEntry 作为apk入口时 必须设置 targetSDKVersion>=21...
Oracle-创建只读账号
参考Oracle数据库创建只读用户 - gdjlc - 博客园 (cnblogs.com) 说明创建一个只读用户gms_read,只能查询管理员用户GMS下的表,不能增删改 操作步骤创建新用户12--创建用户 gms_read 密码 gms 默认表空间 sgpcreate user gms_read identified by gms default tablespace sgp; 为新用户授权123grant connect,resource to gms_read;grant create synonym to gms_read;grant create session to gms_read; 授予新用户查询表权限将原用户 GMS 的所有表查询权限授予新用户 一定注意:执行如下语句,获取查询结果,然后执行 1234select 'grant select on '||owner||'.'||object_name||' to gms_read;'from dba_objectswhere owner in...
Oracle-项目实践
发表于|Oracle
123456title: Oracle-项目实践tags: Oracle-项目实践date: 2021-08-19 15:57:10categories: - 数据库 - Oracle 集合操作(交集、并集、差集)& 子查询之单行子查询https://blog.csdn.net/wy_0928/article/details/51158553 根据字符将字段拆分123select GEOCOORDINATES,REGEXP_SUBSTR(GEOCOORDINATES, '[^,]+', 1, 1) lng,REGEXP_SUBSTR(GEOCOORDINATES, '[^,]+', 1, 2) lat from SCM_CITYCOMPONENT; rownum前N条数据1select * from user where rownum <= N; 第N条数据1select * from user where rownum = N; union 与 union all union all...
SpringBoot-多数据源-mybatisplus
spring-boot-demo-multi-datasource-mybatishttps://gitee.com/xkcoding/spring-boot-demo 此 demo 主要演示了 Spring Boot 如何集成 Mybatis 的多数据源。可以自己基于AOP实现多数据源,这里基于 Mybatis-Plus 提供的一个优雅的开源的解决方案来实现。 准备工作准备两个数据源,分别执行如下建表语句 12345678910DROP TABLE IF EXISTS `multi_user`;CREATE TABLE `multi_user`( `id` bigint(64) NOT NULL, `name` varchar(50) DEFAULT NULL, `age` int(30) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE =...
SpringBoot-websocket
spring-boot-demo-websockethttps://gitee.com/xkcoding/spring-boot-demo 此 demo 主要演示了 Spring Boot 如何集成 WebSocket,实现后端主动往前端推送数据。网上大部分websocket的例子都是聊天室,本例主要是推送服务器状态信息。前端页面基于vue和element-ui实现。 1. 代码1.1. pom.xml123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0"...
SpringBoot-Scheduled定时任务调度
说明 启动类添加注解 @EnableScheduling ,任务方法添加注解 @Scheduled ,共同配合实现定时任务 定时任务的线程池默认大小为 1,也就是单线程执行,这个 poolSize 在 ThreadPoolTaskScheduler.java 中定义 如果有多个定时任务,默认为串行执行。要实现并发执行,则必须修改线程池大小。 方式一:配置线程池大小(推荐) application.yml 中配置 123456spring: task: scheduling: pool: size: 20 # 配置线程池大小,默认为 1,单线程 thread-name-prefix: Job-Thread- 或者通过代码配置 1234567@Configurationpublic class SchedulerConfig implements SchedulingConfigurer { @Override public void configureTasks(ScheduledTaskRegistrar...
SpringBoot-exception-handler统一异常处理
发表于|SpringBoot统一异常处理
说明https://gitee.com/xkcoding/spring-boot-demo 此 demo 演示了如何在Spring Boot中进行统一的异常处理,包括了两种方式的处理:第一种对常见API形式的接口进行异常处理,统一封装返回格式;第二种是对模板页面请求的异常处理,统一处理错误页面 pom.xml1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
SpringBoot-email
发表于|SpringBoot邮件
说明https://gitee.com/xkcoding/spring-boot-demo 此 demo 主要演示了 Spring Boot 如何整合邮件功能,包括发送简单文本邮件、HTML邮件(包括模板HTML邮件)、附件邮件、静态资源邮件 pom.xml1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
Duboo
说明Apache Dubbo (incubating) |ˈdʌbəʊ| 是一款高性能、轻量级的开源 Java RPC 框架,它提供了三大核心能力:面向接口的远程方法调用,智能容错和负载均衡,以及服务自动注册和发现。简单来说 Dubbo 是一个分布式服务框架,致力于提供高性能和透明化的 RPC 远程服务调用方案,以及 SOA 服务治理方案。 Dubbo 目前已经有接近 23k 的 Star ,Dubbo 的 Github 地址:https://github.com/apache/inc...。另外,在开源中国举行的 2018 年度最受欢迎中国开源软件这个活动的评选中,Dubbo 更是凭借其超高人气仅次于 vue.js 和 ECharts 获得第三名的好成绩。 Dubbo 是由阿里开源,后来加入了 Apache 。正式由于 Dubbo 的出现,才使得越来越多的公司开始使用以及接受分布式架构。 为什么用 负载均衡 —— 同一个服务部署在不同的机器时该调用那一台机器上的服务 服务调用链路生成 —— 服务之间互相是如何调用的 服务访问压力以及时长统计 ——...
公告
风雨无阻,灯火为你,星光虽微,照耀夜空。
最新文章
归档
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2025 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2024 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2023 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2022 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2021 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2020 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1
- 2019 1