diff --git a/waynboot-common/src/main/java/com/wayn/common/core/domain/shop/Keyword.java b/waynboot-common/src/main/java/com/wayn/common/core/domain/shop/Keyword.java index f5f9cd3..819a66d 100644 --- a/waynboot-common/src/main/java/com/wayn/common/core/domain/shop/Keyword.java +++ b/waynboot-common/src/main/java/com/wayn/common/core/domain/shop/Keyword.java @@ -3,15 +3,15 @@ package com.wayn.common.core.domain.shop; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import com.wayn.common.base.entity.ShopBaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; -import java.time.LocalDateTime; /** *

- * 关键字表 + * 关键字表` *

* * @author wayn @@ -20,7 +20,7 @@ import java.time.LocalDateTime; @Data @TableName("shop_keyword") @EqualsAndHashCode(callSuper = false) -public class Keyword implements Serializable { +public class Keyword extends ShopBaseEntity implements Serializable { private static final long serialVersionUID = 1L; @@ -57,16 +57,6 @@ public class Keyword implements Serializable { */ private Integer sortOrder; - /** - * 创建时间 - */ - private LocalDateTime createTime; - - /** - * 更新时间 - */ - private LocalDateTime updateTime; - /** * 删除标志(0代表存在 1代表删除) */ diff --git a/waynboot-common/src/main/resources/mapper/shop/KeywordMapper.xml b/waynboot-common/src/main/resources/mapper/shop/KeywordMapper.xml index dbc5b09..ad8469f 100644 --- a/waynboot-common/src/main/resources/mapper/shop/KeywordMapper.xml +++ b/waynboot-common/src/main/resources/mapper/shop/KeywordMapper.xml @@ -22,21 +22,22 @@ keyword, jump_type, url, is_hot, is_default, sort_order, create_time, update_time, del_flag from shop_keyword +