读书人

新承线程

发布时间: 2013-12-20 17:03:19 作者: rapoo

新启线程

new Thread(new Runnable() {public void run() {try {deleteDAS(theKnotHead.getDate(),theKnotHead.getStructure().getId());ExportDiffManager manager = (ExportDiffManager) applicationContext.getBean("exportDiffManager");manager.storeOperatingDaily(theKnotHead.getStructure().getId(),theKnotHead.getDate());if(!TheKnotHead.ACTIVE.equals(theKnotHead.getStatus())){SystemOperationLogManager systemOperationLogManager = (SystemOperationLogManager) applicationContext.getBean("wmsOperationLogManager");systemOperationLogManager.updateOrganization("noClose", "DefaultTheKnotManager", "检测日结未关闭", "DAS号","", null, null, null, null);}} catch (Exception e) {e.printStackTrace();}finally{theKnotHead.setStatus(TheKnotHead.ACTIVE);commonDao.store(theKnotHead);}}}).start();

?

读书人网 >编程

热点推荐