From 8cdbb5fa2be2d95649f374902781c9ce2eefd971 Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Wed, 13 Dec 2023 13:53:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompetitionContentController.java | 1 + .../competition/entity/vo/CompetitionVO.java | 4 +-- .../mapper/xml/CompetitionMapper.xml | 12 ++++++++- .../service/impl/CompetitionServiceImpl.java | 27 +++++++++---------- 4 files changed, 26 insertions(+), 18 deletions(-) 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 @@