|
@@ -217,4 +217,15 @@ public class WorkerManagerController {
|
|
|
FieldUtils.exportData(page.getRecords(), zfireParamBean.getExportFields(), request, response);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @PostMapping("/list/workerManagerCheck/import")
|
|
|
+ @ApiOperation(value = "师傅编号查询模板导入")
|
|
|
+ public ResponseHelper wait2Del(
|
|
|
+ @RequestParam MultipartFile file
|
|
|
+ ) throws RemoteServiceException, IOException {
|
|
|
+ List<Object> objects = ExcelUtils.importExcel(file);
|
|
|
+ workerManagerLogic.importData(objects);
|
|
|
+ return ResponseHelper.success();
|
|
|
+ }
|
|
|
+
|
|
|
}
|