- 博客(12)
- 收藏
- 关注
转载 java的JsonObject对象提取值
https://blog.youkuaiyun.com/qciwyy/article/details/80669247转载于:https://www.cnblogs.com/dreamShines/p/11543503.html
2019-09-18 16:45:00
322
转载 HttpClient(用CloseableHttpClient发送get/post请求)
//get请求private String testGet() { //创建 CloseableHttpClient CloseableHttpClient httpClient = HttpClients.createDefault(); CloseableHttpResponse response = null;...
2019-09-18 15:37:00
6075
转载 poi读取模板,填充模板数据,导出修改后的模板
public void to_exportAllAssess(){ ArrayList<AssessResultDetail> assessResultDetailList = 查询准备填充excel的数据 HSSFWorkbook workbook = AssessExportUtil.exportAllAssess(assessResu...
2019-09-11 12:15:00
541
转载 idea相关设置使用
全局JDK配置:File ->Other Settins->Structure for New Project->Project->添加JDK时选择JRE的上一级目录,不要选择JRE大多File->Settings做的操作都是对当前项目设置,设置全局目前,没发现,每次配置后重新检出其他项目都需要重新配置(红色标注:最好每次检项目检查配置)关闭Intellij...
2019-08-15 11:46:00
183
转载 oracle数据备份expdp/impdp和exp/imp
--数据泵导入导出expdp/impdp(按用户导出导入)create directory dpbak as 'D:/data/dpbak';--创建备份文件存放目录(dpbak为逻辑目录,指向所建物理路径)grant read,write on directory dpdir to public;--授予备份文件所在目录访问权限(public可改为指定用户名)su ...
2019-08-07 11:51:00
155
转载 js函数(日期比较、加减乘除、四舍五入)
//日期格式yyyy-mm-ddfunction compare(date1,date2){ if(date1==null || date1=="" || date2==null || date2==""){ return false; } date1=date1.substring(0,4)+date1.substring(5,7...
2019-07-15 13:52:00
283
转载 根据元素属性前部分和后部分匹配
^$$("*[name^='entity.authors['][name$='isTxAuthor']")$("select[name^='entity.authors['][name$='isTxAuthor']")//根据下拉框的name属性前部分name="entity.authors["前部分匹配并且后部分name="isTxAuthor"匹配$("*...
2019-07-15 11:30:00
125
转载 echarts3 折线图、柱状图
<%@ page contentType="text/html; charset=UTF-8"%><%@ taglib prefix="e" uri="/firefly-theme-taglib" %><%@ taglib prefix="s" uri="/struts-tags" %><!DOCTYPE html>&l...
2019-06-14 18:49:00
229
转载 Synchronized关键字
1、修饰普通方法public synchronized void method1(){ ......}public synchronized void method2(){ ......}public static void main(String[] args) { final Test test = new...
2019-06-08 14:43:00
101
转载 Sql Server触发器:记录表增删改记录
drop TABLE log_historycreate table log_history(logid int not null identity(1,1), -- 日志序号(日志主键) operate varchar(10), -- 操作类型:Insert,Update,Delete pznm varchar(100), ...
2019-05-24 11:22:00
613
转载 单选框相关操作
获取单选框选中的值var subjectType = $('input:radio[name="entity.subjectType"]:checked').val(); if(subjectType == null)设置value=1的选项为选中状态$("input[type=radio]").attr("checked",'1');单选框选中的值清空$(...
2019-05-07 18:32:00
135
转载 <c:set>标签
<c:set var="money" scope="session" value="${100*3}"/><c:out value="${money}"/>输出:300<c:set var="projectSource" value="${entity.projectSourceId}"/>el表达式取值:${projectSource}scope...
2019-04-18 10:14:00
317
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人