Files
lpt-be/src/main/resources/mapper/StudyReportFragmentsMapper.xml
T
2024-07-09 22:45:29 +08:00

23 lines
1.1 KiB
XML

<?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.guo.learningprogresstracker.mapper.StudyReportFragmentsMapper">
<resultMap id="BaseResultMap" type="com.guo.learningprogresstracker.entity.StudyReportFragmentsEntity">
<id property="fragmentId" column="fragment_id" jdbcType="INTEGER"/>
<result property="sessionId" column="session_id" jdbcType="INTEGER"/>
<result property="content" column="content" jdbcType="VARCHAR"/>
<result property="createdTime" column="created_time" jdbcType="TIMESTAMP"/>
<result property="createdBy" column="created_by" jdbcType="VARCHAR"/>
<result property="lastModifiedTime" column="last_modified_time" jdbcType="TIMESTAMP"/>
<result property="lastModifiedBy" column="last_modified_by" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
fragment_id,session_id,content,
created_time,created_by,last_modified_time,
last_modified_by
</sql>
</mapper>