<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    lyyb2001

    只是為方便自己找記錄而已
    posts - 57, comments - 27, trackbacks - 0, articles - 5
      BlogJava :: 首頁 :: 新隨筆 :: 聯系 ::  :: 管理

    2016年12月8日

    表單里面先對某一個控件有效性驗證(如手機號碼,當手機號碼輸入正確,才發送驗證碼,最后才是對表單驗證)

    <input type="text" id="mobile" name="mobile" placeholder="請輸入您的手機號碼" class="easyui-validatebox form-control" data-options="required:true,validType:'mobile'" />

    validateType自己擴展規則

    對單個輸入框的驗證為:$("#mobile").validatebox('isValid') 通過返回true

    posted @ 2017-09-19 15:59 skycity 閱讀(838) | 評論 (0)編輯 收藏

        public enum Section {
    KITTING(1),
    LABELKITTING(2),
    PACKING(3);

    private final int code;

    private Section(int code)
    {
    this.code=code;
    }
    public int getCode()
    {
    return this.code;
    }
    }

    Map<Integer,Section> MAP=Arrays.stream(Section.values()).collect(Collectors.toMap(s->s.code, section->section));

    posted @ 2017-07-11 11:40 skycity 閱讀(2765) | 評論 (0)編輯 收藏

    Optional<MaterialPaneModel> maxMaterial = list.stream().max(Comparator.comparingInt(MaterialPaneModel::getMaterialQty));

    posted @ 2017-07-06 15:43 skycity 閱讀(4016) | 評論 (0)編輯 收藏

    try{

    JaxWsProxyFactoryBean factoryBean = new JaxWsProxyFactoryBean();

    factoryBean.getInInterceptors().add(new LoggingInInterceptor());

    factoryBean.getOutInterceptors().add(new LoggingOutInterceptor());

    factoryBean.setServiceClass(AutoPackServiceIntf.class);

    factoryBean.setAddress("http://10.241.0.105:17000/TEST");

    AutoPackServiceIntf factory = (AutoPackServiceIntf) factoryBean.create();

    Client client = ClientProxy.getClient(factory);

    HTTPConduit conduit = (HTTPConduit) client.getConduit();

    HTTPClientPolicy policy = new HTTPClientPolicy();

    policy.setConnectionTimeout(30000); //連接超時時間

    policy.setReceiveTimeout(120000); //請求超時時間.

    conduit.setClient(policy);

    System.out.println(factory.getFirstUnitCramp("1"));

    }catch(WebServiceException ex){

    long l2 = System.currentTimeMillis();

    System.out.println((l2-l1)+"ms");

    System.out.println("連接異常");

    }

    posted @ 2016-12-08 14:19 skycity 閱讀(295) | 評論 (0)編輯 收藏

    主站蜘蛛池模板: 亚洲香蕉久久一区二区| 亚洲成在人天堂一区二区| 亚洲s码欧洲m码吹潮| 三年片在线观看免费观看高清电影 | 亚洲成?Ⅴ人在线观看无码| 青青草97国产精品免费观看| 亚洲综合色成在线播放| 黄视频在线观看免费| 亚洲国产精品国自产拍AV| 国产精品视频免费观看| 亚洲人成色99999在线观看| 日本免费电影一区| 在线观看免费黄色网址| 亚洲人成在线影院| 成人午夜18免费看| 免费国产a理论片| 亚洲成人在线电影| 成人毛片手机版免费看| jizz18免费视频| 99久久亚洲精品无码毛片| 在线不卡免费视频| 国产精品1024在线永久免费| 老汉色老汉首页a亚洲| 成年女人喷潮毛片免费播放| 成人特级毛片69免费观看| 色播亚洲视频在线观看| 妞干网免费观看视频| 两性色午夜视频免费网| 久久精品亚洲AV久久久无码| 国产乱弄免费视频| 久久午夜无码免费| 亚洲精品无码久久久久YW| 亚洲日韩精品无码一区二区三区| 亚洲一区二区三区免费在线观看| 18禁亚洲深夜福利人口| 亚洲AV午夜成人片| 国产成人免费高清在线观看| 日韩免费人妻AV无码专区蜜桃 | 亚洲国产精品嫩草影院 | 亚洲国产美女精品久久久久| 亚洲国产精品13p|