diff --git a/src/main/java/club/joylink/rtss/controller/paper/PaperApiTestController.java b/src/main/java/club/joylink/rtss/controller/paper/PaperApiTestController.java index 1e10e1483..9d0a33c08 100644 --- a/src/main/java/club/joylink/rtss/controller/paper/PaperApiTestController.java +++ b/src/main/java/club/joylink/rtss/controller/paper/PaperApiTestController.java @@ -28,7 +28,7 @@ public class PaperApiTestController { CreatePaperCompositionReqVo rt = new CreatePaperCompositionReqVo(); rt.setName("测试试卷1"); rt.setProfile("XX单位用于测试CMM的试题"); - rt.setCompanyId("1"); + rt.setOrgId(1L); System.out.println(JsonUtils.writeValueAsString(rt)); } public static void paperCompositionBasicVo(){ @@ -36,7 +36,7 @@ public class PaperApiTestController { rt.setId(1L); rt.setName("测试试卷1"); rt.setProfile("XX单位用于测试CMM的试题"); - rt.setCompanyId("1"); + rt.setOrgId(1L); System.out.println(JsonUtils.writeValueAsString(rt)); } public static void paperCompositionDetailVo(){ diff --git a/src/main/java/club/joylink/rtss/controller/paper/PaperApiTestService.java b/src/main/java/club/joylink/rtss/controller/paper/PaperApiTestService.java index 8a5f66021..682046106 100644 --- a/src/main/java/club/joylink/rtss/controller/paper/PaperApiTestService.java +++ b/src/main/java/club/joylink/rtss/controller/paper/PaperApiTestService.java @@ -29,8 +29,8 @@ public class PaperApiTestService { select.setQuestion("我是选择题"+i); select.setCreateUserId(user.getId()); select.setCreateTime(LocalDateTime.now()); - select.setCompanyId(user.getCompanyId()); - select.setRaceLable("6,8"); + select.setOrgId(user.getCompanyId()); + select.setTags("6,8"); // List opts = new ArrayList<>(); PaperCommonQuestionVo.OptionVo opt =new PaperCommonQuestionVo.OptionVo(); @@ -51,8 +51,8 @@ public class PaperApiTestService { select.setQuestion("我是多选题"+i); select.setCreateUserId(user.getId()); select.setCreateTime(LocalDateTime.now()); - select.setCompanyId(user.getCompanyId()); - select.setRaceLable("7,9"); + select.setOrgId(user.getCompanyId()); + select.setTags("7,9"); // List opts = new ArrayList<>(); PaperCommonQuestionVo.OptionVo opt =new PaperCommonQuestionVo.OptionVo(); @@ -73,8 +73,8 @@ public class PaperApiTestService { select.setQuestion("我是判断题"+i); select.setCreateUserId(user.getId()); select.setCreateTime(LocalDateTime.now()); - select.setCompanyId(user.getCompanyId()); - select.setRaceLable("7,9"); + select.setOrgId(user.getCompanyId()); + select.setTags("7,9"); // List opts = new ArrayList<>(); PaperCommonQuestionVo.OptionVo opt =new PaperCommonQuestionVo.OptionVo();