新增企业信息导入

This commit is contained in:
zhangchaoyang02 2025-04-18 15:24:12 +08:00
parent dd1c4027b2
commit 0655754660
3 changed files with 2 additions and 19 deletions

View File

@ -341,11 +341,6 @@ function handleExport(){
broTable.value.busiTable.exportExcelFileForAllData('/api/lawenforcement/enterprises/export', '企业信息', Object.assign({}, queryParams.value, {tag: 'cx'}))
}
async function handleImport() {
let fileObj = document.getElementById('uploadExcelFileInput')
fileObj.click()
}
function uploadFile(e) {
tableConfig.value.tableLoading = true
let file = e.target.files[0]

View File

@ -97,20 +97,6 @@ public class EnterprisePoniteScheduleService {
enterpriseWaferTask();
}
/**
* 导入企业信息
*/
public void enterpriseTask() {
log.info("开始导入企业信息...");
int page = 1;
boolean b = updateOrImportIndustryEnterprise(page);
while (b) {
page++;
b = updateOrImportIndustryEnterprise(page);
}
log.info("企业信息导入完成...");
}
/**
* 危化导入企业信息
*/

View File

@ -122,6 +122,8 @@ public class EnterpriseScheduleService {
log.info("企业信息导入完成...");
}
/**
* 刷新token
*/