自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

fishermanMr

一杯敬过往 ,一杯敬明天,然而今天的你还需要努力

  • 博客(331)
  • 资源 (7)
  • 收藏
  • 关注

原创 navicat for oracle 误操作恢复语句

navicat for oracle 误操作恢复语句

2021-12-15 18:17:32 905

原创 substr() 方法可在字符串中抽取从 start 下标开始的指定数目的字符。

substr() 方法可在字符串中抽取从 start 下标开始的指定数目的字符。

2021-12-03 17:51:59 322

原创 idea注释快捷键

具体实现步骤:1、打开系统设置Setting(Ctrl+Alt+S快捷键)2、Editor—>Live Templates—>点击+号。添加一个templates group来放置自己快捷键,效果图如下:3、选中创建的group—>再次点击+号,添加一个Live template4、设置自定义的快捷键模板:Abbreviation:快捷键,Description:描述该快捷键Template text:自定义的快捷键模板/** * @ClassName: $classNa.

2021-11-27 17:40:20 668

原创 批量解压某文件夹下的.zip文件并生成对应文件夹名

批量解压某文件夹下的.zip文件并生成对应文件夹名package leetcode.editor.cn;import java.io.File;import java.io.FileOutputStream;import java.io.InputStream;import java.io.OutputStream;import java.nio.charset.Charset;import java.util.Enumeration;import java.util.Scanner;i

2021-11-12 17:50:25 661

原创 批量修改某文件下文件后缀

package leetcode.editor.cn;import java.io.File;import java.util.Scanner;public class FileEdit { public static void renameFiles(String path, String oldExt, String newExt) { File file = new File(path); if (!file.exists()) {

2021-11-12 16:53:34 353

原创 取字符串某个字符到某个字符的中间值

public static void main(String[] args) { String str = "房估字(2014)第YPQD0006号"; String jieguo = str.substring(str.indexOf("第")+1,str.indexOf("号")); System.out.println(jieguo); }

2021-09-15 15:27:23 283

原创 sqlserver多数据库连接问题

<!-- https://mvnrepository.com/artifact/net.sourceforge.jtds/jtds --><dependency> <groupId>net.sourceforge.jtds</groupId> <artifactId>jtds</artifactId> <version>1.3.1</version></dependency&gt

2021-08-26 17:21:09 236

原创 代码生成器

package mail.utils;import com.baomidou.mybatisplus.core.exceptions.MybatisPlusException;import com.baomidou.mybatisplus.core.toolkit.StringPool;import com.baomidou.mybatisplus.generator.AutoGenerator;import com.baomidou.mybatisplus.generator.Injection

2021-08-19 15:15:31 91

原创 git,github,gitlab和码云的区别以及gitlab部署方案

git,github,gitlab和码云的区别相关概念1.git的概念git 是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。git 与常用的版本控制工具 CVS, Subversion 等不同,它采用了分布式版本库的方式,不必服务器端软件支持。git 由Linus Linus花了两周时间自己用C写了一个分布式版本控制系统,在2008 正式上线。(这里和Linu

2021-07-28 11:26:24 918

原创 Linux命令

Linux命令清空当前面板clearps-查询运行程序sudo docker psimages-查看安装程序sudo docker imagescd-去某个文件夹下cd /mydata/ls-查看该文件下的目录lscd …/-返回上一层cd ../docker ps -a 查询未启动的程序docker ps -adocker start *** 启动程序docker start ***部分即可...

2021-07-16 13:38:05 71

原创 阿里,京东,蚂蚁面试题

阿⾥⼀⾯说⼀下ArrayList和LinkedList区别1. ⾸先,他们的底层数据结构不同,ArrayList底层是基于数组实现的,LinkedList底层是基于链表实现的2. 由于底层数据结构不同,他们所适⽤的场景也不同,ArrayList更适合随机查找,LinkedList更适合删除和添加,查询、添加、删除的时间复杂度不同3. 另外ArrayList和LinkedList都实现了List接⼝,但是LinkedList还额外实现了Deque接⼝,所以LinkedList还可以当做队列来使⽤

2021-07-14 11:10:46 613 1

原创 python打包exe

pip install pyinstallerpyinstaller-F setup.py

2021-06-22 17:33:01 64

原创 查询某个字段的时间区间数据

select COUNT(*) from to_tools where deleted = '0' and new_type = ${type} and datepart(yyyy,online_time) = ${year1} and datepart(mm,online_time) &gt;= ${startinTime} and datepart(mm,online_time) &lt;= ${deadl

2021-06-12 08:50:30 250

原创 java计算数,保留后两位数

public class ceshi { public static void main(String[] args) { int a = 9; int b = 7; DecimalFormat df=new DecimalFormat("0.00"); System.out.println(a+b); System.out.println(a-b); System.out.println(a/b); System.out.println(a*b); System.out

2021-05-26 16:56:37 107

原创 多字段去重并返回所有数据

SELECT a.* from nd_tracking_file a , (SELECT max(id) as id from nd_tracking_file group by bl,container_number ORDER BY id ASC)b where a.id = b.id去重字段 bl,container_number

2021-05-07 16:48:01 230

原创 获取当前时间的前六月时间

package org.jeecg.modules.to.util;import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.ArrayList;import java.util.Calendar;import java.util.Date;public class ceshi { public static void main(String[] args) throws Pa

2021-04-20 11:16:07 960

原创 谷粒商城笔记

谷粒商城笔记笔记-基础篇-1(P1-P28):https://blog.csdn.net/hancoder/article/details/106922139笔记-基础篇-2(P28-P100):https://blog.csdn.net/hancoder/article/details/107612619笔记-高级篇(P340):https://blog.csdn.net/hancoder/article/details/107612746笔记-vue:https://blog.csdn.n

2021-04-13 10:27:31 266

原创 redis缓存导出excel

package com.maersk.newdragon.controller;import com.maersk.newdragon.service.DownLoadFileService;import lombok.extern.slf4j.Slf4j;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.web.bind.annotation.RequestMappin

2021-04-09 10:41:43 1243

原创 redis缓存

1.list转换成json格式String json = JSON.toJSONString(collect);//list转josn2.将json装入redis中@Autowired privste StringRedisTemplate stringRedisTemplate//将list转换成josn存入redis中String ddlist = "ddlist";stringRedisTemplate.opsForValue().set(ddlist, json);3.将red

2021-04-06 09:47:22 63

原创 java制作excel模板并根据模板导出

package org.jeecg.modules.caiwu.util.excel;import org.apache.poi.ss.usermodel.Workbook;import org.jeecgframework.poi.excel.ExcelExportUtil;import org.jeecgframework.poi.excel.entity.TemplateExportParams;import org.testng.annotations.Test;import jav.

2021-03-31 11:33:56 549

原创 string去空

trim();String aa=" 11"String mail1 =aa.trim();//11

2021-03-29 16:16:53 86

原创 string类型忽略大小写

String a1 = "Ew";String a1 = "ew";a1.equalsIgnoreCase(a2); //true

2021-03-29 16:15:20 922

原创 adserver处理只显示1000条,---(分页)

package org.jeecg.modules.to.util;import lombok.extern.slf4j.Slf4j;import org.springframework.stereotype.Component;import javax.naming.AuthenticationException;import javax.naming.Context;import javax.naming.NamingEnumeration;import javax.naming.Nam

2021-03-25 15:09:30 259 1

原创 map数据对接

data() { return { dataList:{}, } }<template> <span slot="action"> <!-- <span slot="action" slot-scope="text, record"> --> <div class="index-container-ty"> <a-spin :spinning="loading">

2021-03-24 11:12:10 115

原创 走马灯处理

表单 <el-carousel indicator-position="outside"> <el-carousel-item v-for="item in announcementArr" :key="item"> <img :src="`http://localhost:8080/jeecg-boot/sys/common/static/${item}`" alt=""> &

2021-03-24 10:52:11 110

原创 Java之Excel导出工具类使用教程

前言:本工具类经过PostMan和web页面严格测试可用,经过了多个版本迭代优化,可以直接使用,也方便大家根据自己的业务需求,修改定制自己的导出工具。市面上有很多封装好的导出工具(如:阿里的easyExcel,GitHub上xxl-excel等),但如果直接引用依赖,扩展性和定制性比较差,所以博主通过apache.poi,自己实现一款Excel导出工具,方便定制使用。本工具类支持SpringMVC等主流的Java框架,支持RESTful接口,代码全部通过测试。<dependency>

2021-03-19 10:14:57 866 1

原创 java pdfbox 合并PDF、PDF转图片、PDF插入图片

1、添加依赖 <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> <version>2.0.8</version> </dependency>1.1 找到一个对pdfbox较好的文档地址[https://www.yiibai.com/pdfbox/pdfbox_overv

2021-03-19 10:05:38 711

原创 POI 在Word中添加图章--浮于文字或在文字下方的图片(文字环绕)

1、添加依赖<dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.15</version></dependency> <dependency> <groupId>org.apache.poi</groupId

2021-03-19 10:02:31 1253

原创 java 读取Excel数据(POI)(一个sheet或者多个sheet)

1、添加依赖<dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.13</version></dependency> <dependency> <groupId>org.apache.poi</groupId&gt

2021-03-19 09:28:30 7629 1

原创 java向指定的excel单元格里添加数据

package org.jeecg.modules.to.util;import java.io.FileInputStream;import java.io.FileOutputStream;import org.apache.poi.hssf.usermodel.HSSFCell;import org.apache.poi.hssf.usermodel.HSSFRow;import org.apache.poi.hssf.usermodel.HSSFSheet;import org.ap

2021-03-17 16:10:23 4491

原创 保证邮箱地址正确提bai前下,取得邮箱地址的用户名和域名字符串

package org.jeecg.modules.to.util;public class ceshi { public static void main(String[] args) { // 定义邮箱地址的字符串 String mail = "[email protected]";// 使用split() 方法把 @ 号左右部分分开并保存到数组中 String[] tmp = mail.split("@");// 数组第一个元素就是邮箱用户

2021-02-26 13:45:55 247

原创 Element组件Message报错this.$message is not a function的解决方法

import { Message } from 'element-ui'Vue.use(Message)Vue.prototype.$message = Message

2021-02-22 15:04:36 3214

原创 jeecg更改弹出框大小

nodal模块下 data () { return { width:1200,

2021-02-19 09:58:44 754

原创 jeecg字段必填项,有心标

v-decorator="['name', validatorRules.name]" <a-input v-decorator="['name', validatorRules.name]" placeholder="请输入Tool名称"></a-input> data() { return { validatorRules: { name: { rules: [{ required: true, message: '请输入Tool名

2021-02-18 16:32:34 1117

原创 yml增加为配置文本

data-center: shipping: path: \\\\2.86.96.38\\KayangIO\\ky1014~ @Value("${data-center.shipping.path}") private String path;

2021-02-18 14:52:36 111

原创 通过邮箱账户名密码获取所有信息

package com.maersk.upms.test;import com.maersk.common.dao.service.NdExcelService;import com.maersk.upms.excel.ReadExcel;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.web.bind.annotation.PostMapping;import j

2021-02-17 00:53:54 973

原创 Java 读取excel文件内容插入到数据库

package com.myFirstSpring.test; import org.apache.poi.ss.usermodel.*; import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONArray;import com.sun.org.apache.bcel.internal.generic.RET; import java.io.File;import java.io.FileInputStream;im

2021-02-15 13:52:02 309 1

原创 java通过ad域校验用户密码是否正确

host 域如何知道自己属于那个域 ipconfig/all端口一致//post 端口 String post = "389";用户名username username@***.com源码package org.jeecg.modules.to.util;import java.util.Hashtable;import javax.naming.AuthenticationException;import javax.naming.Context;i

2021-01-28 15:44:29 745

原创 工具版本新增自动获取工具id

流程版本list页版本管路新增按钮绑定事件 <a-button @click="toolIdAdd" type="primary" icon="plus">新增</a-button> toolIdAdd(){ console.log("toolIds========="+this.toolIds) this.$refs.modalForm.toolidadd(this.toolIds); this.$refs.modal

2021-01-23 20:37:43 255

原创 jeecg自定义详情页面

流程1.list页面1.1详情按钮绑定事件<a @click="xiangqing(record)">详情</a>1.2 methods写入事件methods: { xiangqing(record) { this.$refs.xiangqingModal.edit(record); this.$refs.xiangqingModal.title="详情"; this.$refs.xiangqingModal.disableS

2021-01-23 18:45:28 1493

ky1015~2021-03-15.txt

ky1015~2021-03-15.txt

2021-03-23

互联网各大厂Java面试题库大全.pdf

jvm,集合,map,多线程并发,异常,锁,线程和进程,基础,反射,注解,内部类,泛型,spring,微服务。。。。

2020-10-19

servlet的写登陆管理系统用到的web.xmlweb.xml

servlet的写登陆管理系统用到的web.xml

2020-05-12

Spring AOP IOC源码笔记.pdf

1.Spring入门和IOC介绍 2.对象依赖 3.AOP入门 4.JDBCTemplate和Spring事务 5.Spring事务原理 6.Spring事务的一个线程安全问题 7.IOC再回顾和面试题 8.AOP再回顾

2020-05-08

Java多线程源码笔记.pdf

1.什么是多线程 2.Thread类解析 3.使用多线程需要注意的问题 4.synchronized锁和lock锁 5.AQS 6.ReentrantLock和ReentrantReadWriteLock 7.线程池 8.死锁 9.线程常用的工具栏 10.Atomic 11.ThreadLocal

2020-05-08

phpstudy_x64_8.0.9.3.exe

phpStudy是一个PHP调试环境的程序集成包。该程序包集成最新的Apache+PHP+MySQL+phpMyAdmin+ZendOptimizer,一次性安装,无须配置即可使用,是非常方便、好用的PHP调试环境。

2019-12-03

rdm_0.9.8.zip

RDM (Raw Device Mapping)是VMware 服务器虚拟化环境中,用以允许一个虚拟机直接访问SAN(Storage Area Networking)中的一个存储LUN(Logical Unit Number)。 从VMware ESX 2.5开始,RDM(Raw Device Mapping)允许VMFS文件卷中一个特殊的文件当作一个Raw Device (裸设备)的代理。 RDM也可以叫做裸设备映射,虚拟机直接使用存储中的LUN,而不经过虚拟化层。

2019-12-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除