上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: package com; import java.util.ArrayList;import java.util.Iterator;import java.util.List; public class Test { public static void main(String[] args) { 阅读全文
posted @ 2018-07-12 13:42 Kevin_Zhou_9 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 相同点: Spring的拦截器与Servlet的Filter有相似之处,比如二者都是AOP编程细想的体现,都能实现权限检查、日志记录等。 不同的点: 1.使用范围不同:Filter是Servlet规范规定的,只能用于Web程序中。而拦截器可以用于Web程序,也可以用于Application、Swin 阅读全文
posted @ 2018-05-15 09:46 Kevin_Zhou_9 阅读(544) 评论(0) 推荐(0) 编辑
摘要: package ch09 import java.lang.reflect.Field; class DataObject{ private String name; private String desc; private int age; private String other; public 阅读全文
posted @ 2018-05-04 11:29 Kevin_Zhou_9 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 指定一个经纬度,给定一个范围值(单位:千米),查出在经纬度周围这个范围内的数据。 经度:23.33 纬度:34.66 范围:2000km SA_LONGITUDE为数据表经度字段 SA_LATITUDE为数据表纬度字段 select * from SY_STORE_ADDRESS where sqr 阅读全文
posted @ 2018-01-04 16:03 Kevin_Zhou_9 阅读(6340) 评论(0) 推荐(0) 编辑
摘要: 精算经纬度(qx,qy)点附近的停车场,根据表现有的经纬度计算:sql如下 selecttest, round( 6378.138 * 2 * asin( sqrt( pow( sin( (#{qy} * pi() / 180 - Y * pi() / 180) / 2 ) , 2 ) + cos( 阅读全文
posted @ 2018-01-04 15:48 Kevin_Zhou_9 阅读(501) 评论(0) 推荐(0) 编辑
摘要: public static void pageList() { List<Object> list = new ArrayList<Object>(); for (int i = 1; i < 112; i++) { list.add(i); } System.out.println(list); 阅读全文
posted @ 2017-12-14 16:13 Kevin_Zhou_9 阅读(321) 评论(0) 推荐(0) 编辑
摘要: demo 如下: package cn.szfesc.demo.client; public class Test { public static void main(String[] args) { int[] numbers1 = { 49, 38, 65, 97, 76, 13, 27 }; 阅读全文
posted @ 2017-10-12 11:23 Kevin_Zhou_9 阅读(172) 评论(0) 推荐(0) 编辑
摘要: create table T_WAREHOUSE ( id NUMBER, serial_num VARCHAR2(20), name VARCHAR2(20), fk_bigwarehouse_id NUMBER, warehousetype VARCHAR2(20) ); -- Add comm 阅读全文
posted @ 2017-07-06 10:23 Kevin_Zhou_9 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 使用junit单元测试的时候报错: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class 解决方法: 换为以下jar包 <dependency> <gro 阅读全文
posted @ 2017-06-21 14:57 Kevin_Zhou_9 阅读(3925) 评论(0) 推荐(1) 编辑
摘要: --内连接是左边匹配右边表,有对应的则显示--左连接是已左边表作为基准匹配右边表,如果右边表没有对应的则为null--右连接是已右边表作为基准匹配左边表,如果左边表没有对应的则为null--完全连接是左边表匹配右边表,如果有则显示没有则显示为null--交叉连接返回左表中的所有行,左表中的每一行与右 阅读全文
posted @ 2017-05-27 17:30 Kevin_Zhou_9 阅读(211) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页