mysql(3) -FIND_IN_SET()
摘要: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
爱海滔滔
阅读(122)
推荐(0)
mysql (2) -group_concat函数
摘要:group_concat(): 合并字段 例:table1 sql>select group_concat(id) from table1 结果:1,2,3,4
阅读全文
posted @
2016-10-20 10:23
爱海滔滔
阅读(129)
推荐(0)
angularJS(3) - 过滤器
摘要:1). currency : 格式化数字为货币格式。 (|currency ) 2). filter:从数组项中选择一个子集。 3). lowercase:格式化字符串为小写。 4). orderBy:根据某个表达式排列数组。 5). uppercase:格式化字符串为大写。
阅读全文
posted @
2016-10-19 17:56
爱海滔滔
阅读(81)
推荐(0)
angularJS (2) angular.min.js
摘要: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
爱海滔滔
阅读(982)
推荐(0)
js 正则表达式验证
摘要: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
爱海滔滔
阅读(400)
推荐(0)
mysql 中字符串截取
摘要:MySQL 字符串截取函数:left(), right(), substring(), substring_index()。还有 mid(), substr()。其中,mid(), substr() 等价于 substring() 函数,substring() 的功能非常强大和灵活。 1. 字符串截
阅读全文
posted @
2016-10-19 10:30
爱海滔滔
阅读(1881)
推荐(0)
jquery-1
摘要:1.jquery 效果 2.jquery HTML text():获取(设置)文本内容 val():获取(设置)value属性值 html():获取(设置)所选元素的内容(包含标签) 3.jQuery - 添加元素 append():结尾插入prepend() 在开始插入(当时列表时 添加到第一列)
阅读全文
posted @
2016-10-17 17:33
爱海滔滔
阅读(186)
推荐(0)
AngularJS (1)
摘要:AngularJS 扩展了 HTML (MVC) view(视图):html model(模型):可用的数据 Controller(控制器): js AngularJS 通过 ng-directives 扩展了 HTML。 指令: ng-app 指令定义一个 AngularJS 应用程序。 ng-m
阅读全文
posted @
2016-10-14 10:57
爱海滔滔
阅读(151)
推荐(0)
css-2 (Text Font)
摘要:1.Text:CSS 文本格式 body {color:blue;} h1 {color:#00ff00;} h2 {color:rgb(255,0,0); A.text-align:文本对齐方式 B.text-decoration:文本修饰 (1.用来删除链接的下划线: a {text-decor
阅读全文
posted @
2016-10-13 17:51
爱海滔滔
阅读(192)
推荐(0)
css - 1 背景(background)
摘要:1.background-color:背景颜色 例:h1 {background-color:#6495ed;} 2.background-image:背景图片图像 例:h1{background-image:url('bgdesert.jpg');} 3.background-repeat:背景图
阅读全文
posted @
2016-10-13 14:26
爱海滔滔
阅读(177)
推荐(0)
Java经验
摘要:instanceof: java关键字,判断是否属于 哪个类
阅读全文
posted @
2016-10-08 18:01
爱海滔滔
阅读(59)
推荐(0)
js经验
摘要://旋转 180度 纵向 transform: rotateY(180deg); -ms-transform: rotateY(180deg); -moz-transform: rotateY(180deg); -webkit-transform: rotateY(180deg) cursor: p
阅读全文
posted @
2016-10-08 18:00
爱海滔滔
阅读(70)
推荐(0)
mysql经验
摘要:--UUID 获取方法!replace(uuid(),'-','') >将uuid()中的‘-’,去掉,即替换成空串;此外upper(replace(uuid(),'-',''))用于将字符转换为大写 --去除重复 DISTINCTSELECT DISTINCT PWD FROM t_core_re
阅读全文
posted @
2016-10-08 17:59
爱海滔滔
阅读(93)
推荐(0)