摘要: //个人信息 手机号或证件号打码 private String getEncrypt(String number){ //电话 if (number != null && number.length() == 11) { return number.replaceAll("(\\d{3})\\d{4 阅读全文
posted @ 2020-10-13 09:24 p_小白 阅读(1182) 评论(0) 推荐(0) 编辑
摘要: package com.zy.handle; /** * Author * <p> * Description: 验证码生成器 工具类 * <p> * Date: 2017/8/29 */ import java.awt.*; import java.awt.image.BufferedImage; 阅读全文
posted @ 2020-07-24 11:07 p_小白 阅读(730) 评论(0) 推荐(0) 编辑
摘要: MyBatis 10 种通用的写法 用来循环容器的标签forEach,查看例子 foreach元素的属性主要有item,index,collection,open,separator,close。 item:集合中元素迭代时的别名, index:集合中元素迭代时的索引 open:常用语where语句 阅读全文
posted @ 2020-06-09 09:14 p_小白 阅读(463) 评论(0) 推荐(0) 编辑
摘要: proname=/deve/signature?cid= cid&sid=sidif(StringUtils.isNotBlank(proname)) { String[] roles = proname.split("[?]")[0].split("/");//【截取0到?中间的即:/deve/s 阅读全文
posted @ 2020-05-16 12:03 p_小白 阅读(305) 评论(0) 推荐(0) 编辑
摘要: package com.centit.tfzc.util.excelUtil; import jxl.Workbook; import jxl.write.Label; import jxl.write.WritableSheet; import jxl.write.WritableWorkbook 阅读全文
posted @ 2020-01-14 14:45 p_小白 阅读(263) 评论(0) 推荐(0) 编辑
摘要: http://jetbrains-license-server 阅读全文
posted @ 2020-01-04 13:05 p_小白 阅读(1449) 评论(0) 推荐(0) 编辑
摘要: IDEA的代码分析包含两个部分,Syntax(语法分析)和Inspections(语言修改建议),这两个功能在修改和查看大文件时是最占CPU的。Syntax部分是不能全局关闭的,但Inspections是可以的。关闭方法:在Perferences->Inspections,点Copy,复制一份,名称 阅读全文
posted @ 2019-12-18 17:32 p_小白 阅读(5269) 评论(1) 推荐(2) 编辑
摘要: /** * @MethodName : setColumnAutoSize * @Description : 设置工作表自动列宽和首行加粗 * @param ws */ private static void setColumnAutoSize(WritableSheet ws, int extra 阅读全文
posted @ 2019-12-02 15:45 p_小白 阅读(741) 评论(0) 推荐(0) 编辑
摘要: public class SecurityImage { /** * 生成验证码图片 * @param securityCode 验证码字符 * @return BufferedImage 图片 */ public static BufferedImage createImage(String se 阅读全文
posted @ 2019-12-02 15:40 p_小白 阅读(489) 评论(0) 推荐(0) 编辑
摘要: public class pingyin { // 将汉字转换为全拼 public static String getPingYin(String src) { char[] t1 = null; t1 = src.toCharArray(); String[] t2 = null; HanyuPi 阅读全文
posted @ 2019-11-22 13:25 p_小白 阅读(412) 评论(0) 推荐(0) 编辑

你再瞅我 还瞅!关注啊