fix
This commit is contained in:
@@ -69,7 +69,7 @@ public class DataHandlerController {
|
||||
|
||||
@PostMapping("/dataStageHandler")
|
||||
@ApiOperation("阶段处理")
|
||||
public ResponseResult<Boolean> importOaOldShopData(MultipartFile file, @RequestParam("flag") Boolean flag) {
|
||||
public ResponseResult<Boolean> dataStageHandler(MultipartFile file, @RequestParam("flag") Boolean flag) {
|
||||
ExcelReader reader = null;
|
||||
try {
|
||||
reader = ExcelUtil.getReader(file.getInputStream());
|
||||
@@ -101,7 +101,7 @@ public class DataHandlerController {
|
||||
}
|
||||
|
||||
@PostMapping("/dataHandlerV20241012")
|
||||
@ApiOperation("导入OA旧数据")
|
||||
@ApiOperation("导入OA202410-12旧数据")
|
||||
public ResponseResult<Boolean> dataHandlerV20241012(MultipartFile file) {
|
||||
ExcelReader reader = null;
|
||||
try {
|
||||
@@ -110,7 +110,6 @@ public class DataHandlerController {
|
||||
log.error("read file error:", e);
|
||||
}
|
||||
assert reader != null;
|
||||
log.info("----------------------:{}", file.getOriginalFilename());
|
||||
List<Map<String, Object>> dataMapList = reader.read(0, 1, Integer.MAX_VALUE);
|
||||
ImportTaskDO importTaskDO = new ImportTaskDO();
|
||||
importTaskDO.setFileName(file.getOriginalFilename());
|
||||
|
||||
Reference in New Issue
Block a user