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