| | |
| | | } |
| | | } |
| | | |
| | | |
| | | /** 网约车总数(月度全省 pin:模板_网约车总数.xlsx) */ |
| | | @PostMapping("/wycTotal") |
| | | public Result<String> importWycTotal(@RequestParam("file") MultipartFile file, |
| | | @RequestParam("period") String period) { |
| | | try { |
| | | int count = importService.importWycTotal(file, period); |
| | | return Result.ok("网约车总数导入成功, 共 " + count + " 期"); |
| | | } catch (Exception e) { |
| | | log.error("wycTotal import error", e); |
| | | return Result.error("导入失败: " + e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /** 网约车订单及全省总量(模板_网约车订单及全省总量.xlsx) */ |
| | | @PostMapping("/wycOrder") |
| | | public Result<String> importWycOrder(@RequestParam("file") MultipartFile file, |
| | | @RequestParam("period") String period) { |
| | | try { |
| | | int count = importService.importWycOrder(file, period); |
| | | return Result.ok("网约车订单及全省总量导入成功, 共 " + count + " 期"); |
| | | } catch (Exception e) { |
| | | log.error("wycOrder import error", e); |
| | | return Result.error("导入失败: " + e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /** 投资月报(全省汇总大表):category=客运站场/物流园区 */ |
| | | @PostMapping("/investment") |
| | | public Result<String> importInvestment(@RequestParam("file") MultipartFile file, |