目录结构 database.yml 001_schema.rb customer.rb ar.rb Gemfile Rakefile 使用说明 1 在ruby目录执行 命令: 2 在ruby目录创建 active_record.rb 我在rubymine中直接右键单击文件,选择 run active ...
分类:
其他好文 时间:
2016-06-15 15:39:22
阅读次数:
704
1.导入分页相关模块 from django.core.paginator import Paginator,EmptyPage,PageNotAnInteger 2.将对象分页,如下是按每页3条记录分页 customer_list = models.Customer.objects.all() p ...
分类:
其他好文 时间:
2016-06-15 12:33:00
阅读次数:
1050
js接口 //查询公司客户 $scope.A = []; DataCenter.find("customer/info",{COMPANY:1}) DataCenter.addEventListener("customers", function(e){ $scope.A = e.data; $sc ...
分类:
其他好文 时间:
2016-06-15 01:46:22
阅读次数:
620
<div class="col-md-6 col-sm-6" style="text-align:left;" ng-messages="myForm.CUSTOMER_TELS.$error"> <input type="text" class="control-btm input-sm form ...
分类:
Web程序 时间:
2016-06-15 01:33:32
阅读次数:
280
开始在项目中直接使用 if ([urlStr containsString:@"Contact-Customer-Service”]) 比较,但是出现了问题 -[__NSCFString containsString:]: unrecognized selector sent to instance ...
分类:
其他好文 时间:
2016-06-13 17:02:48
阅读次数:
159
错误如下: hibernate operation: could not execute query; uncategorized SQLException for SQL [select count(*) as y0_ from customer this_ where this_.custome ...
分类:
其他好文 时间:
2016-06-13 11:30:17
阅读次数:
151
1、网易云信 http://netease.im/ 2、环信 http://www.easemob.com/customer/im 3、融云 http://www.rongcloud.cn/ 4、极光IM https://www.jpush.cn/common/im/ 5、容联云 http://ww ...
分类:
移动开发 时间:
2016-06-12 20:24:04
阅读次数:
180
跟王老师学反射(九):反射应用小案例--进行对象拷贝学习内容一、需求二、参考代码(一)Customer:标准JavaBean(二)方法编写来自为知笔记(Wiz)
分类:
其他好文 时间:
2016-06-09 00:54:20
阅读次数:
131
进程同步:一组并发进程进行相互合作、互相等待,使得各进程按一定的顺序执行的过程。 生产者和消费者问题 A生产产品,B取走产品, 让信号量初值为0,生产者不用获取信号量,但要释放信号量1. 消费者要获取信号量,但不用释放信号量0. 生产者producer.c customer.c 先执行: ./pro ...
分类:
其他好文 时间:
2016-06-06 01:05:30
阅读次数:
160
declare cursor city_cur isselect t.new_customer_id,t.old_customer_id from citsonline.crm_customer_tmp6 t where t.new_customer_id!=t.old_customer_idord ...
分类:
数据库 时间:
2016-06-05 17:07:12
阅读次数:
308