1.修改获取开场白接口的返回结构
2.添加获取评论接口
This commit is contained in:
14
src/main/resources/mapper/AiCommentMapper.xml
Normal file
14
src/main/resources/mapper/AiCommentMapper.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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.AiCommentMapper">
|
||||
<resultMap id="BaseResultMap" type="com.yupi.springbootinit.model.entity.AiComment">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table ai_comment-->
|
||||
<id column="id" jdbcType="INTEGER" property="id" />
|
||||
<result column="content" jdbcType="VARCHAR" property="content" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, content
|
||||
</sql>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user