main
黄海 9 months ago
commit ce2695a177

@ -82,7 +82,7 @@
{ title: '序号', align: 'center', width: "5%", type: 'numbers' },
{ title: '分类', field: 'parent_name', align: 'center' },
{ title: '数据集', field: 'dataset_name', align: 'center' },
{ title: '表名', field: 'table_name', align: 'center'},
// { title: '表名', field: 'table_name', align: 'center' },
{ title: '操作', toolbar: '#table-bar', align: 'center' }
]],
skin: 'line',

@ -167,8 +167,6 @@
layer.msg("保存成功!", {
icon: 1,
time: 1300
}, function () {
history.back();
});
} else {
layer.msg(result.message, {
@ -180,14 +178,12 @@
});
});
$("#back").click(function () {
history.back();
});
function GetQueryString(name, istop) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);

@ -60,7 +60,7 @@ public class GenerateExcel {
for (int i = 1; i <= columnCount; i++) {
Cell cell = row.createCell(i - 1);
Object value = resultSet.getObject(i);
cell.setCellValue(value.toString());
if (value != null) cell.setCellValue(value.toString());
cell.setCellStyle(dataStyle);
}
}

Loading…
Cancel
Save