This commit is contained in:
wuchunlei
2024-05-27 14:52:55 +08:00
12 changed files with 169 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
package com.peanut.modules.common.dao;
import com.github.yulichang.base.MPJBaseMapper;
import com.peanut.modules.common.entity.TaihuWelfareEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface TaihuWelfareDao extends MPJBaseMapper<TaihuWelfareEntity> {
}

View File

@@ -1,4 +1,27 @@
package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName("taihu_welfare")
public class TaihuWelfareEntity {
@TableId
private Integer id;
private String title;
private Integer type;
private String url;
private String content;
private Integer sort;
@TableLogic
private Integer delFlag;
}

View File

@@ -15,4 +15,6 @@ public class ParamTo {
private String keywords;
private String type;
}