|
|
|
@ -457,9 +457,6 @@ public class DataEaseModel {
|
|
|
|
|
if (identity_id > 1) {
|
|
|
|
|
sql = sql + "where `行政区划`='" + area_name + "' or `上级行政区划`='" + area_name + "'" ;
|
|
|
|
|
}
|
|
|
|
|
//获取一下表有哪些列
|
|
|
|
|
//List<String> columnNames = getColumns(tableName);
|
|
|
|
|
|
|
|
|
|
List<Record> tableData = Db.use(DataEaseModel.DB_NAME).find(sql);
|
|
|
|
|
String excelFileName = UUID.randomUUID().toString().toUpperCase() + ".xlsx";
|
|
|
|
|
String filePath = exportPath + excelFileName;
|
|
|
|
|