@ApiOperation(value = "楼栋基本信息", notes = "需要登录。请求头携带Authorization字段")
@ApiImplicitParams({
@ApiImplicitParam(name = "excelFile", value = "excel文件", required = true, dataType = "int", paramType = "query")
})
@ApiResponses({
@ApiResponse(code = -1, message = "错误响应"),
@ApiResponse(code = 2000, message = "成功响应")
})
@PostMapping("/odsBulidingInfo")
public BaseResponse odsBulidingInfo(@RequestParam("excelFile") @ApiIgnore MultipartFile multipartfile) {
if(multipartfile==null){
return BaseResponse.error("没有上传文件");
}
if(multipartfile.isEmpty()){
return BaseResponse.error("上传文件是空");
}
try{
InputStream inputStream = multipartfile.getInputStream();
St
01-30
4382
08-06
2万+
08-03
1万+