From 4b590cfd640ffd6157580d5230b6c8bf666fc20d Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Wed, 17 Mar 2021 15:38:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=9E=E4=BD=93=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../msdw/tms/entity/ProjectHiddenEntity.java | 26 +++++++------------ .../AchievementManagementServiceImpl.java | 10 +++---- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/src/main/java/com/msdw/tms/entity/ProjectHiddenEntity.java b/src/main/java/com/msdw/tms/entity/ProjectHiddenEntity.java index bcb9d25..c06a2bf 100644 --- a/src/main/java/com/msdw/tms/entity/ProjectHiddenEntity.java +++ b/src/main/java/com/msdw/tms/entity/ProjectHiddenEntity.java @@ -3,40 +3,32 @@ package com.msdw.tms.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.experimental.Accessors; import java.io.Serializable; -/** - * @author Mr.JK - * @date 2021年3月17日15:08:53 - */ -@Accessors(chain = true) @Data +@ApiModel(value = "此表是在教师端成绩管理,虚仿以及教学列表展示中使用到") @TableName("tms_project_hidden") public class ProjectHiddenEntity implements Serializable { + private static final long serialVersionUID = 1L; - /** - * 主键id - */ @TableId(type = IdType.AUTO) + @ApiModelProperty(value = "主键") private Integer id; - /** - * 项目id - */ + @ApiModelProperty(value = "项目id(对应hr_project_management主键)") private Integer projectId; - /** - * 教学实验id - */ + @ApiModelProperty(value = "实验教学id(对应tms_experimental_teaching主键)") private Integer teachId; - /** - * 是否隐藏 - */ + @ApiModelProperty(value = "是否隐藏(0不隐藏,1隐藏)") private Integer isHidden; + + } diff --git a/src/main/java/com/msdw/tms/service/impl/AchievementManagementServiceImpl.java b/src/main/java/com/msdw/tms/service/impl/AchievementManagementServiceImpl.java index d9ce9f2..c1c96e2 100644 --- a/src/main/java/com/msdw/tms/service/impl/AchievementManagementServiceImpl.java +++ b/src/main/java/com/msdw/tms/service/impl/AchievementManagementServiceImpl.java @@ -345,8 +345,8 @@ public class AchievementManagementServiceImpl extends ServiceImpl