上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: select * from t where flag=1 order by abs(index) desc 阅读全文
posted @ 2016-11-11 14:50 esther-qing 阅读(4598) 评论(0) 推荐(0) 编辑
摘要: 一:新建仓库 在首页的New Repository,点击进入页面,输入和项目同名的仓库名就可以了。 二:删除仓库 在Setting页面,选择下面的Danger Zone--Delete this repository,输入要删除的仓库名就可以了。 阅读全文
posted @ 2016-11-10 16:36 esther-qing 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 方法一:选择菜单VCS—Import into Version Control — Share project on Github,填写仓库名和github账户之后,点击”Share”按钮即可。如下图 方法二:在本地的项目文件上右键,选择“Git Bash Here”,弹出框中输入命令。如下图三。如 阅读全文
posted @ 2016-11-10 16:29 esther-qing 阅读(580) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ type: "post", url: baseUrl+"sys/login", dataType: "json", contentType: "application/json;charset=utf-8", data: JSON.stringify({userName: logi 阅读全文
posted @ 2016-10-10 10:02 esther-qing 阅读(33562) 评论(0) 推荐(0) 编辑
摘要: select country, sum( case when sex = '1' then population else 0 end), --男性人口 sum( case when sex = '2' then population else 0 end) --女性人口 from table_a 阅读全文
posted @ 2016-09-26 13:55 esther-qing 阅读(17285) 评论(0) 推荐(0) 编辑
摘要: 1.int装string select CAST (1234 AS text) --5 附: PostgreSQL 类型转换函数 to_char (timestamp, text ) to_char ( double precision , text ) 阅读全文
posted @ 2016-09-26 11:46 esther-qing 阅读(18880) 评论(0) 推荐(1) 编辑
摘要: select round(1::numeric/4::numeric,3);结果为0.25select round( cast ( 1 as numeric )/ cast( 4 as numeric),2); 阅读全文
posted @ 2016-09-26 11:01 esther-qing 阅读(7343) 评论(0) 推荐(0) 编辑
摘要: 1.获取当前日期的年份 阅读全文
posted @ 2016-09-26 10:59 esther-qing 阅读(34389) 评论(0) 推荐(0) 编辑
摘要: 1、 SpringMVC通过一套MVC注解,让POJO成为处理请求的控制器,而无须实现任何接口。 2、支持REST风格的URL请求。 3、采用了松散耦合可插拔组件结构,比其他MVC框架更具扩展性和灵活性。 4、 配置web.xml文件4.1 配置DispatcherServlet:默认加载/WEB- 阅读全文
posted @ 2016-09-23 13:45 esther-qing 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1、SpringMVC使用@RequestMapping注解为控制器指定可以处理哪些URL请求。 2、在控制器的类定义和方法定义处都可标注@RequestMapping 2.1 类定义处:提供初步的请求映射信息。相对于WEB应用的根目录 2.2 方法处:提供进一步的细分映射信息。相对于类定义处的UR 阅读全文
posted @ 2016-09-23 13:44 esther-qing 阅读(720) 评论(1) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 下一页