zoukankan      html  css  js  c++  java
  • 学习记录

    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);//限制只能输入浮点数
    

      

  • 相关阅读:
    巴洛克式和哥特式的区别
    推荐阅读书籍,是时候再行动起来了。
    AtCoder ABC 159F Knapsack for All Segments
    AtCoder ABC 159E Dividing Chocolate
    AtCoder ABC 158F Removing Robots
    AtCoder ABC 158E Divisible Substring
    AtCoder ABC 157F Yakiniku Optimization Problem
    AtCoder ABC 157E Simple String Queries
    AtCoder ABC 157D Friend Suggestions
    AtCoder ABC 156F Modularness
  • 原文地址:https://www.cnblogs.com/8899man/p/5377417.html
Copyright © 2011-2022 走看看