feat(notice): 新增系统公告接口及后台实现

This commit is contained in:
2026-02-11 19:14:07 +08:00
parent 553eadfaa6
commit edd78aa0ca
7 changed files with 201 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yupi.springbootinit.mapper.SystemNoticeMapper">
<resultMap id="BaseResultMap" type="com.yupi.springbootinit.model.entity.SystemNotice">
<!--@mbg.generated-->
<!--@Table system_notice-->
<id column="id" jdbcType="BIGINT" property="id" />
<result column="title" jdbcType="VARCHAR" property="title" />
<result column="content" jdbcType="LONGVARCHAR" property="content" />
<result column="type" jdbcType="TINYINT" property="type" />
<result column="status" jdbcType="TINYINT" property="status" />
<result column="creator" jdbcType="VARCHAR" property="creator" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="updater" jdbcType="VARCHAR" property="updater" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="deleted" jdbcType="BIT" property="deleted" />
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
<result column="category" jdbcType="VARCHAR" property="category" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, title, content, `type`, `status`, creator, create_time, updater, update_time,
deleted, tenant_id, category
</sql>
</mapper>