学习记录

java集合:http://skyuck.iteye.com/blog/526358

 

java :http://blog.csdn.net/z69183787/article/details/42965375

 

数据可视化:https://keen.io/

http://blog.csdn.net/sd0902/article/details/8604958

前端: http://www.zhangxinxu.com/wordpress/2012/02/html5-placeholder%E4%BD%BF%E7%94%A8%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB%E5%8F%8A%E6%8B%93%E5%B1%95/

博文:http://blog.csdn.net/sd0902/article/details/16119963

 

多线程,线程池:

http://www.cnblogs.com/dolphin0520/p/3932906.html

http://www.cnblogs.com/dolphin0520/p/3932921.html

 

 

 

http://robnyman.github.io/fullscreen/

 

https://www.aliyun.com/product/emapreduce?spm=5176.7960203.223922.2.TdkSXB

 

http://www.runoob.com/bootstrap/bootstrap-pagination.html

 

func (this *ProcessActionUserRelation) GetNextUsers(status string) ([]orm.Params,error) {

    var maps []orm.Params
    o := orm.NewOrm();

    fmt.Println("ddppll----------<<>>")
    _,err := o.Raw(`(

    select distinct p.user_code,b.chinesename
            from process_action_user_relation p
                left join base_ldap_user b on p.user_code =b.email
                where p.action_id in (select action_id from process_action_info where start_status = ?)
    union
    select distinct u.user_name as user_code,d.chinesename as chinesename
            from process_action_role_relation r
                left join base_app_role_user u on r.role_id = u.role_id
                left join base_ldap_user d on u.user_name=d.email
                where action_id in (select action_id from process_action_info where start_status=?)

    )`,status,status).Values(&maps)
    return maps,err

}


go语言执行这段既然 sql 被截取了,所以报错,为什么被截取了???

 

 

监控:https://github.com/firehol/netdata/wiki

 

 

select2

/*----------- 分组下拉初始化------------

{ text: "Western", children: [ { id: "CA", text: "California" }, { id: "AZ", text: "Arizona" } ] }, { text: "Eastern", children: [ { id: "FL", text: "Florida" } ] } */

 

$.fn.numeral=function(bl){//限制金额输入、兼容浏览器、屏蔽粘贴拖拽等
			  $(this).keypress(function(e){
				  var keyCode=e.keyCode?e.keyCode:e.which;
				if(bl){//浮点数
				  if((this.value.length==0 || this.value.indexOf(".")!=-1) && keyCode==46) return false;
				  return keyCode>=48&&keyCode<=57||keyCode==46||keyCode==8;
				}else{//整数
				  return  keyCode>=48&&keyCode<=57||keyCode==8;
				}
			  });
			  $(this).bind("copy cut paste", function (e) { // 通过空格连续添加复制、剪切、粘贴事件
				  if (window.clipboardData)//clipboardData.setData('text', clipboardData.getData('text').replace(/\D/g, ''));
					  return !clipboardData.getData('text').match(/\D/);
				  else
					  event.preventDefault();
			   });
			  $(this).bind("dragenter",function(){return false;});
			  $(this).css("ime-mode","disabled");
			  $(this).bind("focus", function() {
				if (this.value.lastIndexOf(".") == (this.value.length - 1)) {
					this.value = this.value.substr(0, this.value.length - 1);
				} else if (isNaN(this.value)) {
					this.value = "";
				}
			});
		}

		$("#je").numeral(true);//限制只能输入浮点数

  

posted @ 2016-04-11 10:40  8899man  阅读(157)  评论(0编辑  收藏  举报