| | |
| | | package com.ruoyi.other.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.account.api.model.TVinManagement; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.web.domain.AjaxResult; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 分页查询车队下的VIN码车辆(查看车队抽屉使用) |
| | | */ |
| | | @RequiresPermissions(value = {"/fleet/list"}, logical = Logical.OR) |
| | | @GetMapping("/vin-page") |
| | | @ApiOperation(value = "分页查询车队下VIN码车辆", tags = {"管理后台-车队管理"}) |
| | | public AjaxResult<Page<TVinManagement>> vinPage(@RequestParam("id") Integer id, |
| | | @RequestParam(value = "current", defaultValue = "1") Integer current, |
| | | @RequestParam(value = "size", defaultValue = "10") Integer size) { |
| | | return AjaxResult.success(fleetService.selectVinPage(id, current, size)); |
| | | } |
| | | |
| | | /** |
| | | * 按公司ID批量回填公司名称 |
| | | */ |
| | | private void fillCompanyName(List<TFleet> records) { |