|
@@ -22,7 +22,6 @@ import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
-import java.io.IOException;
|
|
|
|
import java.util.concurrent.TimeUnit;
|
|
import java.util.concurrent.TimeUnit;
|
|
import java.util.concurrent.locks.Lock;
|
|
import java.util.concurrent.locks.Lock;
|
|
|
|
|
|
@@ -165,7 +164,7 @@ public class BankAccountController {
|
|
//
|
|
//
|
|
@PostMapping("/template/import")
|
|
@PostMapping("/template/import")
|
|
@ApiOperation("导入银行账户")
|
|
@ApiOperation("导入银行账户")
|
|
- public ResponseHelper importData(MultipartFile file) throws IOException {
|
|
|
|
|
|
+ public ResponseHelper importData(MultipartFile file) throws Exception {
|
|
repairSettleAccountLogic.importData(file);
|
|
repairSettleAccountLogic.importData(file);
|
|
return ResponseHelper.success();
|
|
return ResponseHelper.success();
|
|
}
|
|
}
|