This commit is contained in:
xzb 2022-10-09 13:24:24 +08:00
parent 12f91ba58c
commit df77cfcc24
2 changed files with 8 additions and 8 deletions

View File

@ -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(){

View File

@ -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<PaperCommonQuestionVo.OptionVo> 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<PaperCommonQuestionVo.OptionVo> 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<PaperCommonQuestionVo.OptionVo> opts = new ArrayList<>();
PaperCommonQuestionVo.OptionVo opt =new PaperCommonQuestionVo.OptionVo();