Bladeren bron

update: Vo

guo00guo 5 jaren geleden
bovenliggende
commit
4040835dad

File diff suppressed because it is too large
+ 0 - 0
site/src/main/java/com/mooctest/crowd/site/controller/CommonController.java


+ 0 - 2
site/src/main/java/com/mooctest/crowd/site/data/vo/ApplicationTypeVO.java

@@ -11,13 +11,11 @@ import java.util.List;
  */
 @Data
 public class ApplicationTypeVO {
-    private Long id;
     private String code;
     private String name;
     private List<TestTypeVO> testTypeList;
 
     public ApplicationTypeVO(ApplicationType applicationType){
-        id = applicationType.getId();
         code = applicationType.getCode();
         name = applicationType.getName();
     }

+ 0 - 2
site/src/main/java/com/mooctest/crowd/site/data/vo/ResourceVO.java

@@ -9,12 +9,10 @@ import lombok.Data;
  */
 @Data
 public class ResourceVO {
-    private Long id;
     private String code;
     private String name;
 
     public ResourceVO(Resource resource){
-        id = resource.getId();
         code = resource.getCode();
         name = resource.getName();
     }

+ 0 - 2
site/src/main/java/com/mooctest/crowd/site/data/vo/TestTypeVO.java

@@ -9,12 +9,10 @@ import lombok.Data;
  */
 @Data
 public class TestTypeVO {
-    private Long id;
     private String code;
     private String name;
 
     public TestTypeVO(TestType testType){
-        id = testType.getId();
         code = testType.getCode();
         name = testType.getName();
     }

Some files were not shown because too many files changed in this diff