java
sjb在路上
这个作者很懒,什么都没留下…
展开
-
spring boot but 2 were found
spring boot启动报错 Description: Field SmsEntitys in com.example.wangyanan.controller.SmsController required a single bean, but 2 were found: - smsEntity: defined in file [E:\project\workspace-eclipse-原创 2017-09-08 15:38:38 · 949 阅读 · 3 评论 -
java注解导出excel标题行
package com.example.wangyanan.annotation; import java.lang.annotation.*; /** * * @ClassName: ProtocolAnnotation * @Description: 自定义注解的使用 * @date 2018年1月9日 下午5:44:08 * */ public class ProtocolAnn...原创 2018-07-18 21:54:07 · 1233 阅读 · 0 评论 -
多线程有返回值Callable的使用
//调用方式 Callable<String> clazz = new PushReport(infos.toString(),account); NewThreadUtil.pushMessage(clazz); package com.aaa.sms.util; import java.util.concurrent.Callable; import java...原创 2018-12-20 10:18:39 · 414 阅读 · 0 评论 -
注解实现两个类不同字段名称值复制
List<Emp> empLists=list;//数据集合 ConvertEntity<Emp, Employee> entity=new ConvertEntity<Emp, Employee>(Emp.class, empLists, null, new Emp(), Employee.class, new Employee()); List<...原创 2019-01-21 14:58:21 · 1646 阅读 · 1 评论