diff --git a/src/main/java/com/yipin/liuwanr/entity/ProjectManagement.java b/src/main/java/com/yipin/liuwanr/entity/ProjectManagement.java index f9b8fbf..119bfed 100644 --- a/src/main/java/com/yipin/liuwanr/entity/ProjectManagement.java +++ b/src/main/java/com/yipin/liuwanr/entity/ProjectManagement.java @@ -65,6 +65,24 @@ public class ProjectManagement { @ApiModelProperty(hidden = true) private Integer isShow; + @ApiModelProperty(value = "是否启用实验数据(0启用 1不启用)", name = "isstartexperimental", example = "0", required = true) + private Integer isstartexperimental;//是否启用实验数据(0启用 1不启用) + + @ApiModelProperty(value = "是否启用实验提示(0启用 1不启用)", name = "isstartexperimentSuggests", example = "0", required = true) + private Integer isstartexperimentSuggests; + + @ApiModelProperty(value = "用户ID", name = "userId", example = "4", required = true) + private Integer userId; + + @ApiModelProperty(value = "知识点是否启用(0、启用 1、不展示)", name = "knowledgePointsIsEnable", example = "0", required = true) + private Integer knowledgePointsIsEnable; + + @ApiModelProperty(value = "实验介绍是否启用(0、启用 1、不展示)", name = "userId", example = "0", required = true) + private Integer experimentIntroductionIsEnable; + + @ApiModelProperty(value = "是否启用(0:启用,1:禁用)") + private Integer enable; + public Integer getPageNo() { return pageNo; } @@ -89,24 +107,6 @@ public class ProjectManagement { this.pageSize = pageSize; } - @ApiModelProperty(value = "是否启用实验数据(0启用 1不启用)", name = "isstartexperimental", example = "0", required = true) - private Integer isstartexperimental;//是否启用实验数据(0启用 1不启用) - - @ApiModelProperty(value = "是否启用实验提示(0启用 1不启用)", name = "isstartexperimentSuggests", example = "0", required = true) - private Integer isstartexperimentSuggests; - - @ApiModelProperty(value = "用户ID", name = "userId", example = "4", required = true) - private Integer userId; - - @ApiModelProperty(value = "知识点是否启用(0、启用 1、不展示)", name = "knowledgePointsIsEnable", example = "0", required = true) - private Integer knowledgePointsIsEnable; - - @ApiModelProperty(value = "实验介绍是否启用(0、启用 1、不展示)", name = "userId", example = "0", required = true) - private Integer experimentIntroductionIsEnable; - - @ApiModelProperty(value = "是否启用(0:启用,1:禁用)") - private Integer enable; - public Integer getEnable() { return enable; } diff --git a/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java b/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java index 951d580..35f64d9 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java @@ -70,7 +70,7 @@ public interface ProjectManagementMapper { @Select({"