新增permission的初始化

This commit is contained in:
none
2023-02-21 15:11:13 +08:00
parent 404305aa71
commit 1dc7ed0a85
9 changed files with 296 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
<?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="xyz.playedu.api.mapper.AdminPermissionMapper">
<resultMap id="BaseResultMap" type="xyz.playedu.api.domain.AdminPermission">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="type" column="type" jdbcType="VARCHAR"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="slug" column="slug" jdbcType="VARCHAR"/>
<result property="createdAt" column="created_at" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,type,name,
slug,created_at
</sql>
</mapper>