11 2019 档案
摘要:https://blog.csdn.net/zh15732621679/article/details/80483617
阅读全文
摘要:https://www.jianshu.com/p/12c9a9654f83
阅读全文
摘要:三步上篮 1、导入redis依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 2.编写co
阅读全文
摘要:1.引入元素选择器 2.使用angular钩子全局设置input长度 ngAfterViewChecked() { const input = this.el.nativeElement.querySelectorAll('input'); if (input) { input.forEach(e
阅读全文
摘要:1.打包springBoot项目为demo.jar 以下贴上项目pom打包配置(使用idea的maven helper插件打包 ) <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4
阅读全文
摘要:1.打包springBoot项目包放在linux服务器上 2.贴上启动项目的批处理代码 #!/bin/bash export BUILD_ID=dontKillMe pid=`ps -ef | grep /home/rivamed/fw-fhvc/flvcat-hvc-exec-v2.0.0.11.
阅读全文
摘要:1, 对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。 2,应尽量避免在 where 子句中对字段进行 null 值判断,创建表时NULL是默认值,但大多数时候应该使用NOT NULL,或者使用一个特殊的值,如0,-1作为默 认值。 3,应尽量
阅读全文
摘要:@Override public void savePatientAndSeekMedical(){ long start = System.currentTimeMillis(); // ((PatientService) AopContext.currentProxy()).saveBatch(
阅读全文
摘要:1.引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> 2.编写java配置 package cn.r
阅读全文
摘要:1.idea新建多模块springBoot项目 父项目使用maven的方式创建 创建完成 删掉src目录 新增子模块使用springBoot initializer插件创建 按以上步骤再建module2 和 main 2.配置项目 因为父项目用的是maven方式 所以自己修改父项目pom文件 增加d
阅读全文
摘要:1.使用Spring initializer新建springBoot项目 2.选择springBoot包 3.pom文件新增druid依赖 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starte
阅读全文