Esempio n. 1
0
        public static int exportSignupList(out String excelFile, Dictionary <String, String[]> conditions = null)
        {
            excelFile = null;
            String destPath = Misc.path(SiteSettings.SITE_PHYSICAL_PATH, SiteSettings.DIR_EXPORT_EXCEL);
            String filename = Misc.generateFilename("签到名单", "xls");

            Misc.verifyDirectory(destPath);
            excelFile = Misc.url(SiteSettings.SITE_ROOT, SiteSettings.DIR_EXPORT_EXCEL, filename);
            return(DbExcel.exportSignupList(Misc.path(destPath, filename), conditions));
        }
Esempio n. 2
0
 public static int importSignupList(String excelFile, out int importedCount)
 {
     return(DbExcel.importSignupUserList(excelFile, out importedCount));
 }