init_object,增加了不完全的登录API,完善数据库设计
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?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.TasksMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.guo.learningprogresstracker.domain.entity.TasksEntity">
|
||||
<id property="taskId" column="task_id" jdbcType="INTEGER"/>
|
||||
<result property="taskName" column="task_name" jdbcType="VARCHAR"/>
|
||||
<result property="materialUrl" column="material_url" jdbcType="VARCHAR"/>
|
||||
<result property="urgency" column="urgency" jdbcType="INTEGER"/>
|
||||
<result property="importance" column="importance" jdbcType="INTEGER"/>
|
||||
<result property="contentDifficulty" column="content_difficulty" jdbcType="INTEGER"/>
|
||||
<result property="futureValue" column="future_value" jdbcType="INTEGER"/>
|
||||
<result property="subjectivePriority" column="subjective_priority" jdbcType="INTEGER"/>
|
||||
<result property="calculatedPriority" column="calculated_priority" jdbcType="FLOAT"/>
|
||||
<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">
|
||||
task_id,task_name,material_url,
|
||||
urgency,importance,content_difficulty,
|
||||
future_value,subjective_priority,calculated_priority,
|
||||
created_time,created_by,last_modified_time,
|
||||
last_modified_by
|
||||
</sql>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user