|
|
|
@ -198,13 +198,7 @@ public class QuController extends BaseController {
|
|
|
|
|
quManager.importExcel(list);
|
|
|
|
|
// 导入成功
|
|
|
|
|
return success("导入成功");
|
|
|
|
|
} catch (IOException e) {
|
|
|
|
|
logger.info(e.getMessage());
|
|
|
|
|
} catch (InvalidFormatException e) {
|
|
|
|
|
logger.info(e.getMessage());
|
|
|
|
|
} catch (IllegalAccessException e) {
|
|
|
|
|
logger.info(e.getMessage());
|
|
|
|
|
} catch (InstantiationException e) {
|
|
|
|
|
} catch (IOException | InvalidFormatException | IllegalAccessException | InstantiationException e) {
|
|
|
|
|
logger.info(e.getMessage());
|
|
|
|
|
}
|
|
|
|
|
return error("导入失败");
|
|
|
|
|