diff --git a/competition/src/main/java/com/huoran/competition/controller/CompetitionContentController.java b/competition/src/main/java/com/huoran/competition/controller/CompetitionContentController.java index 8b84356..a8f3f44 100644 --- a/competition/src/main/java/com/huoran/competition/controller/CompetitionContentController.java +++ b/competition/src/main/java/com/huoran/competition/controller/CompetitionContentController.java @@ -27,6 +27,7 @@ import org.springframework.web.bind.annotation.*; @RequestMapping("/competition/content") public class CompetitionContentController { + @Autowired private CompetitionContentService competitionContentService; @NoRepeatSubmit diff --git a/competition/src/main/java/com/huoran/competition/entity/vo/CompetitionVO.java b/competition/src/main/java/com/huoran/competition/entity/vo/CompetitionVO.java index 28db550..dc1d715 100644 --- a/competition/src/main/java/com/huoran/competition/entity/vo/CompetitionVO.java +++ b/competition/src/main/java/com/huoran/competition/entity/vo/CompetitionVO.java @@ -44,8 +44,8 @@ public class CompetitionVO implements Serializable { @ApiModelProperty(value = "发布状态(0未发布,1已发布)") private Integer publishStatus; - @ApiModelProperty(value = "中台是否开启(0开启 1未开启 默认0)", example = "0") - private Integer ztOpen; + /* @ApiModelProperty(value = "中台是否开启(0开启 1未开启 默认0)", example = "0") + private Integer ztOpen;*/ @ApiModelProperty(value = "是否开启(0开启 1未开启 默认0)", example = "0") private Integer isOpen; diff --git a/competition/src/main/java/com/huoran/competition/mapper/xml/CompetitionMapper.xml b/competition/src/main/java/com/huoran/competition/mapper/xml/CompetitionMapper.xml index 831d583..89fd5d3 100644 --- a/competition/src/main/java/com/huoran/competition/mapper/xml/CompetitionMapper.xml +++ b/competition/src/main/java/com/huoran/competition/mapper/xml/CompetitionMapper.xml @@ -641,6 +641,7 @@