From a8a496a8f96eeadad0c6703a75e2d9c32aaead1d Mon Sep 17 00:00:00 2001 From: xvv Date: Tue, 20 Aug 2024 14:52:13 +0800 Subject: [PATCH] 8.14 --- .../src/main/java/com/ruoyi/cms/domain/Imitation.java | 7 ++++++- .../com/ruoyi/cms/service/impl/ImitationServiceImpl.java | 2 +- ruoyi-ui/src/views/officialWebsite/xufang.vue | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/cms/domain/Imitation.java b/ruoyi-admin/src/main/java/com/ruoyi/cms/domain/Imitation.java index 12a4049..c3443fe 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/cms/domain/Imitation.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/cms/domain/Imitation.java @@ -1,5 +1,8 @@ package com.ruoyi.cms.domain; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; @@ -8,7 +11,7 @@ import com.ruoyi.common.core.domain.BaseEntity; /** * 虚仿真课对象 imitation - * + * * @author 点亮信息 * @date 2024-08-02 */ @@ -17,6 +20,8 @@ public class Imitation extends BaseEntity { private static final long serialVersionUID = 1L; + @ApiModelProperty("ID") + @TableId(value = "ID", type = IdType.AUTO) /** 记录ID */ private Long id; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/cms/service/impl/ImitationServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/cms/service/impl/ImitationServiceImpl.java index 5f7b9ee..e9e86d6 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/cms/service/impl/ImitationServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/cms/service/impl/ImitationServiceImpl.java @@ -84,7 +84,7 @@ public class ImitationServiceImpl extends ServiceImpl
国一流
省一流
- +
{{ item.imitationTitle }}