
java
chenwucsdn
这个作者很懒,什么都没留下…
展开
-
使用generator定制生产代码
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-g...原创 2018-08-01 10:06:59 · 222 阅读 · 0 评论 -
基于反射解析Excel生成集合对象
装载流public static List<Map<String, Object>> importExcel(MultipartFile file, Object obj) throws Exception { //装载流 XSSFWorkbook hw = new XSSFWorkbook(file.getInputStream()...原创 2018-08-01 10:20:25 · 451 阅读 · 0 评论 -
RabbitMQ延时队列
MQConfig@Configuration@ConditionalOnProperty(name = "spring.rabbitmq.addresses", havingValue = "")public class MQConfig implements RabbitListenerConfigurer { public static final String Q...原创 2018-08-02 14:42:33 · 428 阅读 · 0 评论 -
取得给定汉字串的首字母串,即声母串,特殊字符用‘#’(注:只支持GB2312字符集中的汉字)
public class ChineseInital { private final static int[] areaCode = {1601, 1637, 1833, 2078, 2274, 2302, 2433, 2594, 2787, 3106, 3212, 3472, 3635, 3722, 3730, 3858, 4027, 4...原创 2018-08-02 18:55:42 · 442 阅读 · 0 评论