2016年4月23日

摘要: @SuppressWarnings("deprecation")public void exportStudent(){ String fileName="考场信息表"+DateKit.getCurrentDateTime("yyyyMMddhhmmss")+".xls"; String path= 阅读全文
posted @ 2016-04-23 15:15 笨的可以 阅读(3465) 评论(0) 推荐(0)
摘要: public void doFile(){ UploadFile file = getFile("getfile"); File examFile = file.getFile(); GetQuestionFile ss = new GetQuestionFile(); boolean stat = 阅读全文
posted @ 2016-04-23 15:13 笨的可以 阅读(566) 评论(0) 推荐(0)
摘要: private static String getUserCode(int usercode){ int a = 0; int b = 0; if(usercode%26!=0){ a = usercode/26+65; b = usercode%26+64; }else{ a = usercode 阅读全文
posted @ 2016-04-23 15:03 笨的可以 阅读(220) 评论(0) 推荐(0)
摘要: private static int[] randomCode(int max, int n){ int min = 1; if (n > (max - min + 1) || max < min) { return null; } int[] result = new int[n]; int co 阅读全文
posted @ 2016-04-23 15:01 笨的可以 阅读(266) 评论(0) 推荐(0)

导航