该文被密码保护。 阅读全文
posted @ 2018-05-30 15:16 爱海滔滔 阅读(3) 评论(0) 推荐(0) 编辑
  2018年7月25日
摘要: pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apac 阅读全文
posted @ 2018-07-25 18:07 爱海滔滔 阅读(163) 评论(0) 推荐(0) 编辑
  2017年2月14日
摘要: 摘要: 在更新大量数据时如果每条更新执行一次sql性能很低,也容易造成阻塞;批量更新时又有可能遇到主键重复的问题 摘要: 在更新大量数据时如果每条更新执行一次sql性能很低,也容易造成阻塞;批量更新时又有可能遇到主键重复的问题 在更新大量数据时可能同时遇到两个问题: 如果每条更新执行一次sql性能很 阅读全文
posted @ 2017-02-14 10:38 爱海滔滔 阅读(3054) 评论(0) 推荐(0) 编辑
  2017年1月22日
摘要: SQL中的单记录函数1.ASCII返回与指定的字符对应的十进制数;SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual; A A ZERO SPACE 65 97 48 32 2.CHR给出整 阅读全文
posted @ 2017-01-22 15:12 爱海滔滔 阅读(93) 评论(0) 推荐(0) 编辑
  2016年10月20日
摘要: FIND_IN_SET(val,FieldName):fieldName 中包含 val 的参数 例如: SELECT * FROM t_core_menu WHERE FIND_IN_SET("01",MENU_CODE) 结果:MENU_CODE:01,MENU_NAME:ttt; 阅读全文
posted @ 2016-10-20 10:51 爱海滔滔 阅读(114) 评论(0) 推荐(0) 编辑
摘要: group_concat(): 合并字段 例:table1 sql>select group_concat(id) from table1 结果:1,2,3,4 阅读全文
posted @ 2016-10-20 10:23 爱海滔滔 阅读(123) 评论(0) 推荐(0) 编辑
  2016年10月19日
摘要: 1). currency : 格式化数字为货币格式。 (|currency ) 2). filter:从数组项中选择一个子集。 3). lowercase:格式化字符串为小写。 4). orderBy:根据某个表达式排列数组。 5). uppercase:格式化字符串为大写。 阅读全文
posted @ 2016-10-19 17:56 爱海滔滔 阅读(76) 评论(0) 推荐(0) 编辑
摘要: angular.min.js /* AngularJS v1.2.29 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT*/(function(V,W,v){'use strict';function z(b){return f 阅读全文
posted @ 2016-10-19 17:41 爱海滔滔 阅读(958) 评论(0) 推荐(0) 编辑
摘要: function(validation){ //只能是半角字符 var card = /^[\x00-\xff]*$/; validation.checkCard=function(str){ return card.exec(str); } //中文2-10 位 或者 英文 4-20 位 var 阅读全文
posted @ 2016-10-19 11:06 爱海滔滔 阅读(391) 评论(0) 推荐(0) 编辑
摘要: MySQL 字符串截取函数:left(), right(), substring(), substring_index()。还有 mid(), substr()。其中,mid(), substr() 等价于 substring() 函数,substring() 的功能非常强大和灵活。 1. 字符串截 阅读全文
posted @ 2016-10-19 10:30 爱海滔滔 阅读(1864) 评论(0) 推荐(0) 编辑