|
@@ -6,9 +6,11 @@ import cn.cslg.pas.common.model.vo.PatentVO;
|
|
|
import cn.cslg.pas.common.model.vo.TaskVO;
|
|
|
import cn.cslg.pas.common.utils.Response;
|
|
|
import cn.cslg.pas.domain.Patent;
|
|
|
+import cn.cslg.pas.domain.ProjectField;
|
|
|
import cn.cslg.pas.domain.SystemDict;
|
|
|
import cn.cslg.pas.domain.Task;
|
|
|
import cn.cslg.pas.mapper.PatentMapper;
|
|
|
+import cn.cslg.pas.service.PatentFieldService;
|
|
|
import cn.cslg.pas.service.PatentService;
|
|
|
import cn.cslg.pas.service.SystemDictService;
|
|
|
import cn.cslg.pas.service.TaskService;
|
|
@@ -38,6 +40,7 @@ public class SystemController {
|
|
|
|
|
|
private final SystemDictService systemDictService;
|
|
|
private final PatentService patentService;
|
|
|
+ private final PatentFieldService patentFieldService;
|
|
|
@PostMapping("dict")
|
|
|
@Operation(summary = "根据类型获得字典")
|
|
|
public String getPageList(@RequestBody List<String> dicts) {
|
|
@@ -63,11 +66,19 @@ public class SystemController {
|
|
|
public String getConPantentNos(@RequestBody QueryPatentVO params) {
|
|
|
return patentService.getConPantentNos(params);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
@PostMapping("getPatentDTOListForRMS")
|
|
|
@Operation(summary = "获得所有对比文件详细信息")
|
|
|
public String getPatentDTOListForRMS(@RequestBody PatentVO params) {
|
|
|
return Response.success(patentService.getPatentDTOListForRMS(params));
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("field/list")
|
|
|
+ @Operation(summary = "自定义字段列表")
|
|
|
+ public String getFieldList(Integer projectId) {
|
|
|
+ return Response.success(patentFieldService.getPageList(projectId));
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|