| | |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.modules.yw.excel.RescueTeamExcel; |
| | | import org.springblade.modules.yw.vo.RiskSourceVO; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.yw.entity.RescueTeamEntity; |
| | |
| | | String data = rescueTeamService.importRescueTeam(ExcelUtil.read(file, RescueTeamExcel.class),isCovered == 1); |
| | | return R.data(200, data, data); |
| | | } |
| | | |
| | | /** |
| | | * 救援队伍统计查询 |
| | | * @param rescueTeam |
| | | * @return |
| | | */ |
| | | @GetMapping("/getStatisticData") |
| | | @ApiOperationSupport(order = 9) |
| | | @ApiOperation(value = "救援队伍统计查询", notes = "") |
| | | public R getStatisticData(RescueTeamVO rescueTeam) { |
| | | return R.data(rescueTeamService.getStatisticData(rescueTeam)); |
| | | } |
| | | } |