|
|
@ -815,6 +815,13 @@ public class CollectController extends Controller {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
String excelPath = basePath + File.separator + upload_excel_filename_user;
|
|
|
|
String excelPath = basePath + File.separator + upload_excel_filename_user;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!FileUtil.exist(excelPath)) {
|
|
|
|
|
|
|
|
Kv kv = Kv.by("success", false);
|
|
|
|
|
|
|
|
kv.set("message", "文件没有找到,请联系管理员处理异常!");
|
|
|
|
|
|
|
|
renderJson(kv);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
//2、提供EXCEL
|
|
|
|
//2、提供EXCEL
|
|
|
|
if (type_id == 1) {
|
|
|
|
if (type_id == 1) {
|
|
|
|
renderFile(new File(excelPath), excel_filename);
|
|
|
|
renderFile(new File(excelPath), excel_filename);
|
|
|
|