<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年3月22日

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

    <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 閱讀(4017) | 評論 (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)編輯 收藏

    通過Application

    ApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext();

         classPath = classPathXmlApplicationContext.getResource("classpath:config.properties").getFile().getPath();

            if(classPath.indexOf("WEB-INF")>0){

                classPath = classPath.substring(0,classPath.indexOf("WEB-INF")+7)+"/classes/"+xmlFile;

            }

     

    posted @ 2016-11-03 18:17 skycity 閱讀(245) | 評論 (0)編輯 收藏

    @import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);

    Map<Integer,Map<String,List<DocLotDetail>>> amp                            docLotDetailLists.parallelStream().collect(Collectors.groupingBy(DocLotDetail::getGroupOrder,Collectors.groupingBy(DocLotDetail::getBaseValueName)));





    amp.forEach((key,value)->{

            System.out.println(key);

             value.forEach((key2,value2)->{

                System.out.println(key2);

            });

    });

    最終返回的結果

    2

    隨機光盤

    3

    資料袋附件

    4

    資料盒附件

    5

    包裝輔料

    8

    前工序物料






    @import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);

    posted @ 2016-03-22 16:14 skycity 閱讀(11374) | 評論 (0)編輯 收藏

    主站蜘蛛池模板: 4480yy私人影院亚洲| 久久99精品国产免费观看| 亚洲黄色网站视频| 日产国产精品亚洲系列| 无码国产精品一区二区免费式影视 | 四虎影视永久免费视频观看| 88av免费观看| 国产免费无码AV片在线观看不卡| 国产偷国产偷亚洲高清人| 精品久久亚洲中文无码| 亚洲高清资源在线观看| 亚洲中文字幕无码一区| 无码欧精品亚洲日韩一区夜夜嗨| 国产99视频精品免费观看7| 日韩免费无码一区二区三区| 亚洲一区二区三区免费| 美女又黄又免费的视频| 亚洲高清一区二区三区| 亚洲国产品综合人成综合网站| 亚洲电影中文字幕| 亚洲第一极品精品无码久久| 不卡一卡二卡三亚洲| 亚洲av无码天堂一区二区三区| 国产精品成人四虎免费视频| 成人免费无码视频在线网站| 114一级毛片免费| 国产h肉在线视频免费观看| 91精品手机国产免费| 三年片在线观看免费观看大全动漫| h视频在线观看免费| jizz在线免费播放| 精品乱子伦一区二区三区高清免费播放| 立即播放免费毛片一级| 日本系列1页亚洲系列| 美女裸体无遮挡免费视频网站| 最新亚洲人成无码网www电影| 国产亚洲精品AAAA片APP| 婷婷国产偷v国产偷v亚洲| 精品女同一区二区三区免费播放 | 青春禁区视频在线观看直播免费| 男女免费观看在线爽爽爽视频|