摘要: public class WxChatReq { /** * Map转换成XML * @param data * @return * @throws Exception */ public static String recursionMapToXml(Map<String, String> dat 阅读全文
posted @ 2019-05-27 16:35 有容奶大 阅读(3370) 评论(0) 推荐(0) 编辑
摘要: public class MD5Utils { private static final String[] HEX_DIGITS = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", " 阅读全文
posted @ 2019-05-27 16:33 有容奶大 阅读(1905) 评论(0) 推荐(0) 编辑
摘要: /** * 类名称: DisplayUtil <br> * 类描述: 敏感信息掩码规则<br> */public class DisplayUtil { /** * 手机号显示首3末4位,中间用*号隐藏代替,如:138****4213 * * @param mobile * @return */ p 阅读全文
posted @ 2019-05-27 16:31 有容奶大 阅读(1069) 评论(0) 推荐(0) 编辑
摘要: Spring不但支持自己定义的@Autowired注解,还支持几个由JSR-250规范定义的注解,它们分别是@Resource、@PostConstruct以及@PreDestroy。 @Resource的作用相当于@Autowired,只不过@Autowired按byType自动注入,而@Reso 阅读全文
posted @ 2019-05-27 16:28 有容奶大 阅读(1587) 评论(0) 推荐(0) 编辑
摘要: SmsController层 @Slf4j@RestController@RequestMapping("/third/allincloud/sms")public class SmsController { private Logger logger = LoggerFactory.getLogg 阅读全文
posted @ 2019-05-27 16:02 有容奶大 阅读(277) 评论(0) 推荐(0) 编辑
摘要: public class DateUtils { /** * 获取两个日期之间的所有日期 */ public static List<Date> getBetweenDates(Date begin, Date end) { List<Date> result = new ArrayList<Dat 阅读全文
posted @ 2019-05-27 15:52 有容奶大 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 实现功能 --批量导出excel 文件,配置一个sheet多少条数据,根据查询数据量的多少确定生成几个sheet页。 pom 文件导入ExcelUtils工具包,依赖于poi包。 <!-- https://mvnrepository.com/artifact/org.hellojavaer/poi- 阅读全文
posted @ 2019-05-27 14:59 有容奶大 阅读(318) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-05-07 07:30 有容奶大 阅读(2) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-05-06 18:30 有容奶大 阅读(0) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-04-26 14:55 有容奶大 阅读(3) 评论(0) 推荐(0) 编辑