注解
weixin_43231872
这个作者很懒,什么都没留下…
展开
-
获取注解里面的值,打印list中值,泛型的应用
带注解public class EmergencyAreaMsgExport { @ColumnWidth(10) @ExcelProperty(value = "序号",index = 0) private Integer no;}标题int i = EmergencyAreaMsgExport.class.getDeclaredFields().length...原创 2020-05-07 11:25:43 · 238 阅读 · 0 评论 -
SpringBoot框架的注解@Repository、@Service、@Controller、@Component
SpringBoot框架@Service 是springboot纳入容器管理的注解, 要在其他类中注入必须要@Repository、@Service 和 @Controller @Component这些注解,否则就只是一个普通的类。@Service@Repository@Controller@Component...原创 2020-03-31 09:05:11 · 520 阅读 · 0 评论