日期:2014-05-18 浏览次数:20696 次
public static String clientInterface(String TransNo,String TransBkNo,String inXml,String checkCode){
//能否用线程来实现A、B两个任务同时执行 而且方法返回的东西和B任务无关
//A任务
retMsg = nonRealTimeDao.control(TransNo,TransBkNo,inXml,checkCode);
//B任务
AntRunner ant = new AntRunner();
Map<String, String> parameters = new HashMap<String, String>();
Map<String, String> result = new HashMap<String, String>();
ant.run("D:/workplace/CEB_GZYB/job/test.xml", "default", parameters, result, Project.MSG_WARN);
return retMsg;
}