| | |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 企业信息控制层 |
| | |
| | | FirmInfoVO detail = firmInfoService.getDetail(firmInfo); |
| | | return R.data(detail); |
| | | } |
| | | |
| | | /** |
| | | * 模糊查询企业名称、应急空间名称、风险源名称 |
| | | * @param firmInfo |
| | | * @return |
| | | */ |
| | | @GetMapping("/fuzzyQuery") |
| | | @ApiOperationSupport(order = 10) |
| | | @ApiOperation(value = "模糊查询企业名称、应急空间名称、风险源名称", notes = "传入firmInfo") |
| | | public R fuzzyQuery(FirmInfoVO firmInfo) { |
| | | return R.data(firmInfoService.fuzzyQuery(firmInfo)); |
| | | } |
| | | } |