原创 mysql數據庫技巧

1.日期增加半小時 select startTime,ADDDATE(startTime,interval 30 minute) from tbl_shift_hc; 2.存儲過程 DROP PROCEDURE IF EXISTS

原创 history使用過的軟件記錄

前臺工程師給我推薦了軟件:visual studio code 測試工程師給我推薦了工具:jmeter 我經常使用的抓包工具:fiddler c,c++編輯器:dev c++

原创 測試工具jmeter

1.安裝 在官網上下載jmeter 我用的是win7系統,直接雙擊jmeter.bat,就打開的jmeter的操作窗口。 2.使用 1.打開第一個線程組,寫好了HTTP請求,如果需要寫信息頭,就寫。寫好後,怎麼運行那?打開“”。點擊。

原创 jsoup爬取基金數據,http://gs.amac.org.cn/amac-infodisc/res/pof/fund/index.html

分析 1.打開網址 http://gs.amac.org.cn/amac-infodisc/res/pof/fund/index.html 2.用fiddler抓取數據: url: http://gs.amac.org.cn/amac-i

原创 Bootstrap table 下載Excel文件,

1.具體代碼看csdn上傳 增加css,js <script src="../../static/plugins/bootstrap-table/extensions/export/bootstrap-table-export.min.

原创 Spring Boot利用poi導出Excel

pom.xml <!--Excel導出--> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <versio

原创 Thymeleaf常用th標籤

Thymeleaf常用th標籤 關鍵字 功能介紹 案例 th:id 替換id <input th:id="'xxx' + ${collect.id}"/> th:text 文本替換,包括html標籤 若home.welcome=Wel

原创 win電腦遇到端口被佔用的情況該如何查看並將其關閉

idea啓動服務的時候發現端口被佔用,解決方法。 1.重啓電腦 2.用Dos命令關閉 現在具體說說第二種方法 1.netstat -ano  ---------該命令是查看當前哪些端口正在被使用 C:\Users\lunmei>nets

原创 mybatis註解

1.mybatis向mysql插入數據後返回插入的主鍵值,返回的主鍵會賦給參數。 @Insert(value = "insert into projects (id,resumeId,projectName,startDate,endD

原创 理解oauth2.0

參考網站 http://www.ruanyifeng.com/blog/2014/05/oauth_2_0.html https://www.cnblogs.com/flashsun/p/7424071.html  

原创 java selenium 無彈窗,下載文件,格式是mht

1.如果是單個網頁,可以用下面的代碼操作,下載網頁,無彈窗。 package com.hlhlo.recruitment.download.service.impl; import org.openqa.selenium.WebDriv

原创 git 常用命令

前臺軟件visual Studio Code   github新疆了項目會出現下面的命令 …or create a new repository on the command line echo "# WeixinBot" >> RE

原创 spring boot thymeleaf基本用法總結

thymeleaf教程地址:https://www.e-learn.cn/index.php/thymeleaf 根據我看的文檔,我建立了個簡單的spring boot +thymeleaf項目 git 路徑 https://github

原创 Spring Cloud Config微研

spring cloud config server 官方文檔在 http://cloud.spring.io/spring-cloud-config/single/spring-cloud-config.html 也有中文版的。 1. 

原创 git 提交 “push rejected”,如何解決。

某次intellj idea提交git總是失敗。問別人又是很羞恥的事情。 我已經我代碼重新pull下來,再把改動的文件一一添加上去了。完全沒有衝突的問題。但是就是不行。 幸虧一個同事給指導了以下。 在項目目錄下面右鍵“git Bash h