|
@@ -0,0 +1,41 @@
|
|
|
+package cn.cslg.pas.controller;
|
|
|
+
|
|
|
+import cn.cslg.pas.common.core.base.Constants;
|
|
|
+import cn.cslg.pas.common.dto.invalidDTO.AddClaimDTO;
|
|
|
+import cn.cslg.pas.common.dto.invalidDTO.QueryClaimDTO;
|
|
|
+import cn.cslg.pas.common.dto.invalidDTO.SplitClaimDTO;
|
|
|
+import cn.cslg.pas.common.model.cronModel.Records;
|
|
|
+import cn.cslg.pas.common.utils.Response;
|
|
|
+import io.swagger.v3.oas.annotations.Operation;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+@Slf4j
|
|
|
+@RequestMapping(Constants.API_XiaoSHI + "/patentClaim")
|
|
|
+@RestController
|
|
|
+public class PatentClaimController {
|
|
|
+ @Operation(summary = "拆分权利要求")
|
|
|
+ @PostMapping("/splitClaim")
|
|
|
+ public Response splitClaim(@RequestBody SplitClaimDTO splitClaimDTO) throws Exception {
|
|
|
+ Records records =new Records();
|
|
|
+ return Response.success(records);
|
|
|
+ }
|
|
|
+ @Operation(summary = "查询权利要求")
|
|
|
+ @PostMapping("/queryClaim")
|
|
|
+ public Response queryClaim(@RequestBody QueryClaimDTO queryClaimDTO) throws Exception {
|
|
|
+ Records records =new Records();
|
|
|
+ return Response.success(records);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Operation(summary = "保存权利要求")
|
|
|
+ @PostMapping("/addClaim")
|
|
|
+ public Response addClaim(@RequestBody List<AddClaimDTO> addClaimDTOs) throws Exception {
|
|
|
+ Records records =new Records();
|
|
|
+ return Response.success(records);
|
|
|
+ }
|
|
|
+}
|