摘要: /**获得当前类的完整路径。最后一句*/package test;import java.net.MalformedURLException;import java.net.URI;import java.net.URISyntaxException;import java.net.URL;/*** 阅读全文
posted @ 2018-12-13 10:04 爱跳舞的程序员 阅读(1976) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>com.belerweb</groupId> <artifactId>pinyin4j</artifactId> <version>2.5.1</version> </dependency> 依赖包 import net.sourceforge.pinyi 阅读全文
posted @ 2018-11-16 15:27 爱跳舞的程序员 阅读(420) 评论(0) 推荐(0) 编辑
摘要: jar包:pinyin4j.jar 基本用法: String[] pinyin = PinyinHelper.toHanyuPinyinStringArray('重'); 例如“重”字,该方法返回一个String类型的数组: "zhong4" "chong2" “重”是一个多音字,该方法的返回数组包 阅读全文
posted @ 2018-11-16 15:26 爱跳舞的程序员 阅读(2766) 评论(0) 推荐(0) 编辑
摘要: --游标遍历某个字段 (打印出来) declare res_sql varchar2(2000); cursor cur is select f_dcname from W_EC_PLACESTATION_COLLECT t where f_collectdate >= TRUNC(TO_DATE( 阅读全文
posted @ 2018-11-07 15:17 爱跳舞的程序员 阅读(471) 评论(0) 推荐(0) 编辑
摘要: --建表 create table kecheng( id NUMBER, name VARCHAR2(20), course VARCHAR2(20), score NUMBER); --插入数据insert into kecheng (id, name, course, score)values 阅读全文
posted @ 2018-11-07 11:51 爱跳舞的程序员 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 计算九月每个电厂的数量select f_dcname,count(f_dcname) as 九月份的数量 from W_EC_PLACESTATION_COLLECT twhere f_collectdate >= TRUNC(TO_DATE('2018-09-01','yyyy-MM-dd'),' 阅读全文
posted @ 2018-11-07 10:21 爱跳舞的程序员 阅读(1649) 评论(0) 推荐(0) 编辑
摘要: style="vertical-align: top" <td colspan="11" rowspan="5" style="vertical-align: top"> <table class="formTable"> <tr> <td colspan="2" >序号</td> 不然图片红色部分 阅读全文
posted @ 2018-10-24 10:49 爱跳舞的程序员 阅读(3273) 评论(0) 推荐(0) 编辑
摘要: /**附件样式表。*/div.attachement{ float:left; overflow:hidden; padding:3px 0 0 15px; white-space:nowrap; } span.attachement-span{ float:left; background:#f5 阅读全文
posted @ 2018-10-24 09:43 爱跳舞的程序员 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 1,准备好样式 <style> .myTable { margin: 0 auto; /* height: 300px; */ width: 700px; } .myTitle { background-color: #F2F3F5; } tr:hover { background: #edffcf 阅读全文
posted @ 2018-10-17 15:32 爱跳舞的程序员 阅读(1241) 评论(0) 推荐(0) 编辑
摘要: html <div class="l-bar-separator"></div> <div class="group"> <a class="link " id="downloadMode" href="javascript:;">下载导入模版</a> </div> js $(function() 阅读全文
posted @ 2018-09-29 15:43 爱跳舞的程序员 阅读(287) 评论(0) 推荐(0) 编辑