Browse Source

删除 2022/12/12

lwhhszx 2 năm trước cách đây
mục cha
commit
4694474411

+ 3 - 2
RMS/src/main/java/cn/cslg/report/common/model/vo/AssignTaskVO.java

@@ -35,6 +35,9 @@ public class AssignTaskVO extends BaseVO {
     private Date endTime;
     @Schema(description = "备注")
     private String remark;
+    @Schema(description = "自定义字段")
+    private List<SourceVO> filedOptions;
+
     @Data
     public static class assignPatents{
         @Schema(description = "人员Id")
@@ -45,7 +48,5 @@ public class AssignTaskVO extends BaseVO {
 
         @Schema(description = "分配数量")
         private Integer assignCount;
-
-
     }
 }

+ 4 - 1
RMS/src/main/java/cn/cslg/report/controller/PatentFiledController.java

@@ -84,11 +84,15 @@ public class PatentFiledController {
         }
         return Response.success(true);
     }
+
+
     @GetMapping("option/setect")
     @Operation(summary = "报告id查找")
     public String setect(Integer reportId)throws IOException{
         return reportFieldService.selectReportField(reportId);
     }
+
+
     @PostMapping("/query/source")
     @Operation(summary = "查看字段的统计数据")
     public String getPatentQuerySourcePageList(@RequestBody PatentQueryFieldSourceVO params) {
@@ -99,7 +103,6 @@ public class PatentFiledController {
     @Operation(summary ="模糊查询自定义字段")
     public String getPatentField( int filedId ,String name)throws IOException{
       return reportFieldService.getReportField(filedId, name);
-
     }
 
 }

+ 0 - 6
RMS/src/main/java/cn/cslg/report/controller/TaskController.java

@@ -68,12 +68,6 @@ public class TaskController {
         return taskService.auditTask(auditTaskVO);
     }
 
-//    @RequestMapping(value = "/test", method = RequestMethod.GET)
-//    @Operation(summary = "测试")
-//    public String test(String text1, String text2) throws ParseException, IOException {
-//        float a = DataUtils.getSimilarityRatio(text1, text2);
-//        return Response.success("相似度" + a);
-//    }
 
     @RequestMapping(value = "/addAssTask", method = RequestMethod.POST)
     @Operation(summary = "添加分配任务")