摘要: create or replace procedure syntest Authid Current_User isis_exit number;code_count number;code varchar2(10);begin --1.判断是否存在中间临时表b,不存在则根据源表a创建中间表b,并把 阅读全文
posted @ 2019-05-28 15:32 walle1314 阅读(334) 评论(0) 推荐(0) 编辑
摘要: log_format timed_combined '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$ht 阅读全文
posted @ 2019-05-05 13:25 walle1314 阅读(2883) 评论(0) 推荐(0) 编辑
摘要: 1. 2. 阅读全文
posted @ 2018-12-24 17:38 walle1314 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: 直接贴sql: select cols.table_name 表名, cols.column_name 列名, cols.data_type 字段类型, cols.data_length 长度, cols.nullable 是否为空, cols.data_default 默认值, comm.comm 阅读全文
posted @ 2018-11-29 16:31 walle1314 阅读(660) 评论(0) 推荐(0) 编辑
摘要: oracle distinct 是所有字段都相同才显示一条,要做到根据某一列,则如下 select t1.* from table t1 where t1.rowid = (select min(t2.rowid) from table t2 where t1.c= t2.c) 阅读全文
posted @ 2018-09-29 15:35 walle1314 阅读(1186) 评论(0) 推荐(0) 编辑
摘要: controller: service: bean: xml: 阅读全文
posted @ 2018-09-12 16:51 walle1314 阅读(3110) 评论(0) 推荐(0) 编辑
摘要: 1 package test.excelTest; 2 3 import java.io.File; 4 import java.io.FileInputStream; 5 import java.lang.reflect.Field; 6 import java.text.NumberFormat; 7 import java.util.ArrayList; ... 阅读全文
posted @ 2018-08-21 15:33 walle1314 阅读(276) 评论(0) 推荐(0) 编辑
摘要: RSA签名: /** * RSA签名 * @param content 待签名数据 * @param privateKey 商户私钥 * @return 签名值 */public static String sign(String content, String privateKey) { try 阅读全文
posted @ 2018-08-17 10:06 walle1314 阅读(291) 评论(0) 推荐(0) 编辑
摘要: /** * pic to base64Str * @param path 读取路径 * @return */ public static String GetImageStr(String path) {//转化成base64字符串 String imgFile = path; InputStrea 阅读全文
posted @ 2018-08-09 15:35 walle1314 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Maven项目构建过程中,主要构建命令有几种: mvn validate 验证,验证项目是正确的并且所有的信息是可用的; mvn clean 清理,清理项目缓存输出,一般是target文件夹被删除; mvn compile 编译,将java源文件编译成.class文件; mvn test 测试,生成 阅读全文
posted @ 2018-07-30 15:24 walle1314 阅读(195) 评论(0) 推荐(0) 编辑