- 博客(5)
- 收藏
- 关注
原创 http请求模版
/****/package com.deppon.gis.module.edi.shared.util;import com.alibaba.fastjson.JSONObject;import org.apache.http.NameValuePair;import org.apache.http.client.config.RequestConfig;import or...
2020-03-06 16:31:26
416
原创 es ip负载均衡 加权轮询法
核心思想:1. 将ip放入list中,权数为ip重复个数2. 全局变量i,多一个请求i++,当i大于list元素数,i=0package com.deppon.module.gis_hisClean.domain.service.impl;import java.util.ArrayList;import java.util.HashMap;import java.uti...
2019-08-05 09:50:13
605
原创 数组 list 转换
List<String> stringA = Arrays.asList("hello","world","A");String[] stringArray = {"hello","world","B"};List<String> stringB = Arrays.asList(stringArray);
2019-07-31 15:47:11
91
原创 mysql 动态存储过程
##⚠️DELIMITER // 是定义多个sql的分隔符。DELIMITER , 就是分隔符是,##oracle 加字段ALTER table T_NEW_HIS_KDDELIVEREXP add ISSUCCESS VARCHAR2(30);##建表语句 hisDELIMITER //drop procedure if EXISTS pro_createTable_his;...
2019-07-19 16:55:37
242
原创 oracle 动态存储过程
1. 定时beginsys.dbms_scheduler.create_job(job_name => 'job_pro_his_delete_cp',job_type => 'STORED_PROCEDURE',job_action => 'pro_his_delete_cp',start_date => sysdate,repeat_inter...
2019-07-19 16:49:19
531
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人