摘要:
一.实现流程1.添加POI 的相关jar包<dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>4.1.1</version> </dependency>2.编写服务接口比 阅读全文
posted @ 2020-03-14 20:46
马中赤兔
阅读(5963)
评论(0)
推荐(1)
摘要:
一、基本反射技术1.1 getClass():根据一个对象获得它的类public class Test4 { public static void main(String[] args) { Role r1=new Role(); Class c1=r1.getClass(); System.out.println(c1);//打印... 阅读全文
posted @ 2020-03-14 14:52
马中赤兔
阅读(195)
评论(0)
推荐(0)
摘要:
方法一:在main方法Application中配置@Bean PageHelper pageHelper(){ //分页插件 PageHelper pageHelper = new PageHelper(); Properties properties = new Properties(); pro 阅读全文
posted @ 2020-03-14 00:32
马中赤兔
阅读(436)
评论(1)
推荐(0)
摘要:
以项目mango为例:1.关闭项目mango,删除mango,但一定不要勾选删除磁盘2.找到工程所在位置,修改mango工程名 为mango-admin3.编辑pom,将需要替换的mango字符替换为mango-admin4.右击eclipse导航栏,选择import->existing maven projects,重新导入mango-admin工程5.重构包结构,将基础包重构为com.loui... 阅读全文
posted @ 2020-03-14 00:29
马中赤兔
阅读(798)
评论(0)
推荐(0)