摘要: 常规导出的excel通常是用HSSFWorkbook HSSFWorkbook:这个的导出重心就会成为两步:一步是在数据获取部分,如果使用分页查询来进行,会将查询出的数据汇总在内存当中,这样对服务器的内存消耗压力很大,同时在写excel的时候,HSSFWorkbook对内存要求更高,这样很容易造成e 阅读全文
posted @ 2020-06-07 08:17 轩钰儿 阅读(325) 评论(0) 推荐(0) 编辑
摘要: mvn进行编译指令:mvn clean compilemvn打包指令:mvn clean package (打好的包就在target文件夹下)mvn版本号:mvn -v清除class文件:maven clean 阅读全文
posted @ 2020-05-05 17:46 轩钰儿 阅读(672) 评论(0) 推荐(0) 编辑
摘要: 将格林尼治时间转化为标准时间 SimpleDateFormat dateformat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String dateStr = dateformat.format(System.currentTimeMillis( 阅读全文
posted @ 2019-01-07 10:10 轩钰儿 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 首先是点击触发是软键盘弹出 使用完毕后输入框隐藏,软键盘隐藏,最好使用 阅读全文
posted @ 2018-12-27 15:14 轩钰儿 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 不用在界面中添加任何的标签,直接在要显示时间的地方进行点击事件, 这部分就是点击事件之后弹出的具体选择日期的标签页,同时也可以将具体的选择之后的时间进行赋值展示, 不过要注意时间中月份的赋值,该部分比较特殊,需要理解,获取到的月份比实际的要小1, 针对不同的Android手机来说,主题颜色不一致,针 阅读全文
posted @ 2018-12-24 16:27 轩钰儿 阅读(2597) 评论(0) 推荐(0) 编辑
摘要: activity_map.xml文件<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width= 阅读全文
posted @ 2018-12-20 21:13 轩钰儿 阅读(1683) 评论(0) 推荐(0) 编辑
摘要: Intent intent2 = null;try { intent2 = Intent.getIntent("androidamap://route?sourceApplication=softname&sname=我的位置&"+"&dname="+name+"&dev=0&m=0&t=2");} 阅读全文
posted @ 2018-12-20 21:07 轩钰儿 阅读(1488) 评论(0) 推荐(0) 编辑
摘要: <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="点击跳转" android:layout_alignLeft="@+id/tv_title" android: 阅读全文
posted @ 2018-11-19 14:55 轩钰儿 阅读(1472) 评论(0) 推荐(0) 编辑
摘要: item.xml文件<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_c 阅读全文
posted @ 2018-11-19 13:35 轩钰儿 阅读(1123) 评论(0) 推荐(0) 编辑
摘要: 参考:http://commons.apache.org/jelly/libs/http/checkstyle-report.html 1.Missing a Javadoc comment:缺少JavaDoc注释2.First sentence should end with a period:你 阅读全文
posted @ 2018-11-16 10:37 轩钰儿 阅读(855) 评论(0) 推荐(0) 编辑