上一页 1 2 3 4 5 6 ··· 8 下一页

2019年2月20日

摘要: <resultMap id="shipList" type="com.sinochem.yunlian.yunliantraffic.domain.Ship"> <id column="id" property="id" /> <result column="ship_name" property= 阅读全文
posted @ 2019-02-20 13:57 nh小金 阅读(274) 评论(0) 推荐(0) 编辑
 
摘要: Integer log = 21424344;Double log1 = log.doubleValue() / 1000000;System.out.println(log1);BigDecimal b = new BigDecimal(log1);double d2 = b.setScale(1 阅读全文
posted @ 2019-02-20 09:23 nh小金 阅读(212) 评论(0) 推荐(0) 编辑

2019年2月19日

摘要: public class BinaryToDecimal { public static int BinaryToDecimal(int binaryNumber){ int decimal = 0; int p = 0; while(true){ if(binaryNumber == 0){ br 阅读全文
posted @ 2019-02-19 16:56 nh小金 阅读(1477) 评论(1) 推荐(0) 编辑

2019年2月18日

摘要: public static void main(String[] args) { Date d1 = null; try { d1 = DateFormatUtil.StringToDate("2018-02-18 9:22:22"); } catch (ParseException e) { e. 阅读全文
posted @ 2019-02-18 10:09 nh小金 阅读(182) 评论(0) 推荐(0) 编辑

2019年1月28日

摘要: 1.TimeTask 和ScheduledExecutorService 的区别见高并发项目 2. 阅读全文
posted @ 2019-01-28 14:08 nh小金 阅读(79) 评论(0) 推荐(0) 编辑

2019年1月25日

摘要: 查询当前所有java进程: ps -ef | grep java 关掉进程: kill + 进程号 阅读全文
posted @ 2019-01-25 13:51 nh小金 阅读(83) 评论(0) 推荐(0) 编辑
 
摘要: 1. 我们数据库的表结构, 要和数据提供方的表结构一致 -- 只多不少 2.数据库表考虑加一个字段->更新的时间 3.数据提供方停掉了怎么办? 阅读全文
posted @ 2019-01-25 13:50 nh小金 阅读(214) 评论(0) 推荐(0) 编辑
 
摘要: https://juejin.im/post/5b51f85c5188251af91a7525 阅读全文
posted @ 2019-01-25 10:55 nh小金 阅读(129) 评论(0) 推荐(0) 编辑

2019年1月24日

摘要: /** * 读入TXT文件 */public List<String> readFile(String pathName) { List<String> list = new ArrayList<>(); try { InputStream stream = getClass() .getClass 阅读全文
posted @ 2019-01-24 14:08 nh小金 阅读(425) 评论(0) 推荐(0) 编辑
 
摘要: 配置文件编码, 要和数据库编码一致 阅读全文
posted @ 2019-01-24 09:46 nh小金 阅读(80) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页