public static int Count(Vacation a) { sql = string.Format("SELECT COUNT(condition) FROM T_Vacation WHERE condition = '未审批'"); return(DBAcess.ExecSqlCommand1(sql)); }