上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 66 下一页
摘要: 自定义一个用户Email长度超过12个字符后值截取前12个然后添加“...”显示。例如:index.html TODO supply a title ... 阅读全文
posted @ 2015-02-04 20:22 yshy 阅读(174) 评论(0) 推荐(0) 编辑
摘要: filter用于关键字过滤操作,orderBy用于排序操作,运行界面如下:点击标题Name与Email实现排序功能,输入框中输入关键字进行过滤,同时实现根据关键字进行过滤后进行排序操作:ng-repeat="user in users | filter:keyword | orderBy:sortF... 阅读全文
posted @ 2015-02-04 19:44 yshy 阅读(560) 评论(0) 推荐(0) 编辑
摘要: ng-repeat-start与ng-repeat-end时AngularJS(1.2.x)扩展的,使用这两个指令可以灵活控制遍历形式。例如:index.html {{user.name}} ... 阅读全文
posted @ 2015-02-04 19:01 yshy 阅读(12099) 评论(1) 推荐(0) 编辑
摘要: 效果如下图所示:使用表格显示用户信息,当点击某条用户信息时,在其下方展开一行进行展示。index.html TODO supply a title ... 阅读全文
posted @ 2015-02-04 18:27 yshy 阅读(1363) 评论(0) 推荐(0) 编辑
摘要: AngualrJS 提供了指令ng-bind-html 用于绑定包含HTML标签的文档,使用方式:...测试案例:index.html index.jsvar myApp = angular.module('myApp',... 阅读全文
posted @ 2015-02-04 13:50 yshy 阅读(15263) 评论(1) 推荐(0) 编辑
摘要: 1:实现indexOf功能,.从第1个字符开始,搜索第1次出现子串的位置select instr('->Oracle instr用法','Oracle instr用法',1,1) as i from dual; select instr('oracle','or') as i from dual... 阅读全文
posted @ 2015-01-26 18:03 yshy 阅读(276) 评论(0) 推荐(0) 编辑
摘要: select ano,sum(nvl(dmoney,0)) summoneyfrom( select t2.ano,d.dmoney from ( select t1.*,c.cno from( select a.ano,b.bno from t_a a left j... 阅读全文
posted @ 2015-01-21 21:13 yshy 阅读(1221) 评论(0) 推荐(0) 编辑
摘要: 1:update 时做检查使用update mw_contract set payTimes=(case when payTimes>0 then payTimes-1else payTimes end)where contractNo='2015001';2:select时使用select cas... 阅读全文
posted @ 2015-01-21 17:49 yshy 阅读(444) 评论(0) 推荐(0) 编辑
摘要: >mysqldump -u用户名 -p密码 -h主机名 数据库名 > 20150116mw_pm_db.sqlmysql> source /home/y/my_work/20150116mw_pm_db.sql 阅读全文
posted @ 2015-01-16 07:48 yshy 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 例如以下格式JSON:建立对应的Java对象,注意内部类要定义成静态的public class HResult { public String total; public String records; public String page; public L... 阅读全文
posted @ 2015-01-08 10:58 yshy 阅读(1778) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 66 下一页