|
@@ -7,6 +7,7 @@ import com.example.xiaoshiweixinback.business.common.base.Records;
|
|
|
import com.example.xiaoshiweixinback.business.exception.BusinessException;
|
|
|
import com.example.xiaoshiweixinback.business.utils.FileUtils;
|
|
|
import com.example.xiaoshiweixinback.checkLogin.checkLogin;
|
|
|
+import com.example.xiaoshiweixinback.entity.dto.PatentNoDTO;
|
|
|
import com.example.xiaoshiweixinback.entity.dto.esPicture.EsPictureNoDTO;
|
|
|
import com.example.xiaoshiweixinback.entity.dto.esPicture.EsPatentVectorDTO;
|
|
|
import com.example.xiaoshiweixinback.entity.dto.patent.*;
|
|
@@ -135,7 +136,7 @@ public class PatentController {
|
|
|
return Response.success(b);
|
|
|
}
|
|
|
|
|
|
- //--------------------------- 其他 --------------------------
|
|
|
+ //--------------------------- 查询专利 --------------------------
|
|
|
@Operation(summary = "查询专利(用于导出专利数据)--zero")
|
|
|
@PostMapping(value = "/selectPatent")
|
|
|
public Response selectPatent(@RequestParam(value = "searchQuery", required = false) String searchQuery, @RequestParam(value = "multipartFile", required = false) MultipartFile multipartFile) throws Exception {
|
|
@@ -148,6 +149,14 @@ public class PatentController {
|
|
|
return Response.success(columnDTOS);
|
|
|
}
|
|
|
|
|
|
+ @Operation(summary = "根据专利号查询专利详情")
|
|
|
+ @PostMapping(value = "/selectPatentInfoByPatentNo")
|
|
|
+ public Response selectPatentInfoByPatentNo(@RequestBody PatentNoDTO patentNoDTO) throws IOException {
|
|
|
+ String patentNo = patentNoDTO.getPatentNo();
|
|
|
+ PatentColumnDTO columnDTO = esPatentService.selectPatentInfoByPatentNo(patentNo);
|
|
|
+ return Response.success(columnDTO);
|
|
|
+ }
|
|
|
+
|
|
|
//--------------------------导出专利-------------------------------
|
|
|
@PostMapping(value = "/exportPatent")
|
|
|
@Operation(summary = "导出专利数据")
|