| @@ -5,18 +5,18 @@ | |||
| <id column="id" jdbcType="BIGINT" property="id"/> | |||
| <result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/> | |||
| <result column="parent_tenant_id" jdbcType="VARCHAR" property="parentTenantId" /> | |||
| <result column="user_id" jdbcType="bigint" property="userId"/> | |||
| <result column="user_id" jdbcType="BIGINT" property="userId"/> | |||
| <result column="liaison_man" jdbcType="VARCHAR" property="liaisonMan"/> | |||
| <result column="liaison_sex" jdbcType="tinyint" property="liaisonrSex"/> | |||
| <result column="liaison_sex" jdbcType="TINYINT" property="liaisonrSex"/> | |||
| <result column="liaison_phone" jdbcType="VARCHAR" property="liaisonPhone"/> | |||
| <result column="liaison_email" jdbcType="VARCHAR" property="liaisonEmail"/> | |||
| <result column="pictures" jdbcType="json" property="pictures"/> | |||
| <result column="explains" jdbcType="varchar" property="explains"/> | |||
| <result column="remark" jdbcType="varchar" property="remark"/> | |||
| <result column="handle_status" jdbcType="tinyint" property="handleStatus"/> | |||
| <result column="handle_id" jdbcType="bigint" property="handleId"/> | |||
| <result column="create_date" jdbcType="datetime" property="createDate"/> | |||
| <result column="update_date" jdbcType="datetime" property="updateDate"/> | |||
| <result column="pictures" jdbcType="VARCHAR" property="pictures"/> | |||
| <result column="explains" jdbcType="VARCHAR" property="explains"/> | |||
| <result column="remark" jdbcType="VARCHAR" property="remark"/> | |||
| <result column="handle_status" jdbcType="TINYINT" property="handleStatus"/> | |||
| <result column="handle_id" jdbcType="BIGINT" property="handleId"/> | |||
| <result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> | |||
| <result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> | |||
| </resultMap> | |||
| <sql id="allColumns"> | |||
| @@ -5,13 +5,13 @@ | |||
| <id column="id" jdbcType="BIGINT" property="id"/> | |||
| <result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/> | |||
| <result column="parent_tenant_id" jdbcType="VARCHAR" property="parentTenantId" /> | |||
| <result column="wqou_id" jdbcType="bigint" property="wqouId"/> | |||
| <result column="topic_id" jdbcType="bigint" property="topicId"/> | |||
| <result column="wqou_id" jdbcType="BIGINT" property="wqouId"/> | |||
| <result column="topic_id" jdbcType="BIGINT" property="topicId"/> | |||
| <result column="topic_title" jdbcType="VARCHAR" property="topicTitle"/> | |||
| <result column="answer" jdbcType="json" property="answer"/> | |||
| <result column="answer" jdbcType="VARCHAR" property="answer"/> | |||
| <result column="answer_str" jdbcType="VARCHAR" property="answerStr"/> | |||
| <result column="create_date" jdbcType="datetime" property="createDate"/> | |||
| <result column="update_date" jdbcType="datetime" property="updateDate"/> | |||
| <result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> | |||
| <result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> | |||
| </resultMap> | |||
| <sql id="allColumns"> | |||
| @@ -90,10 +90,10 @@ | |||
| #{item.wqouId,jdbcType=BIGINT}, | |||
| #{item.topicId,jdbcType=BIGINT}, | |||
| #{item.topicTitle,jdbcType=VARCHAR}, | |||
| #{item.answer,jdbcType=json}, | |||
| #{item.answer,jdbcType=VARCHAR}, | |||
| #{item.answerStr,jdbcType=VARCHAR}, | |||
| #{item.createDate,jdbcType=datetime}, | |||
| #{item.updateDate,jdbcType=datetime}) | |||
| #{item.createDate,jdbcType=TIMESTAMP}, | |||
| #{item.updateDate,jdbcType=TIMESTAMP}) | |||
| </foreach> | |||
| </insert> | |||
| </mapper> | |||
| @@ -8,16 +8,16 @@ | |||
| <result column="logo" jdbcType="VARCHAR" property="logo"/> | |||
| <result column="top_pic" jdbcType="VARCHAR" property="topPic"/> | |||
| <result column="title" jdbcType="VARCHAR" property="title"/> | |||
| <result column="top_desc" jdbcType="text" property="topDesc"/> | |||
| <result column="status" jdbcType="tinyint" property="status"/> | |||
| <result column="start_date" jdbcType="datetime" property="startDate"/> | |||
| <result column="end_date" jdbcType="datetime" property="endDate"/> | |||
| <result column="reward_credit" jdbcType="int" property="rewardCredit"/> | |||
| <result column="create_date" jdbcType="datetime" property="createDate"/> | |||
| <result column="update_date" jdbcType="datetime" property="updateDate"/> | |||
| <result column="sort" jdbcType="int" property="sort"/> | |||
| <result column="count_topic" jdbcType="int" property="countTopic"/> | |||
| <result column="count_user" jdbcType="int" property="countUser"/> | |||
| <result column="top_desc" jdbcType="VARCHAR" property="topDesc"/> | |||
| <result column="status" jdbcType="TINYINT" property="status"/> | |||
| <result column="start_date" jdbcType="TIMESTAMP" property="startDate"/> | |||
| <result column="end_date" jdbcType="TIMESTAMP" property="endDate"/> | |||
| <result column="reward_credit" jdbcType="INTEGER" property="rewardCredit"/> | |||
| <result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> | |||
| <result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> | |||
| <result column="sort" jdbcType="INTEGER" property="sort"/> | |||
| <result column="count_topic" jdbcType="INTEGER" property="countTopic"/> | |||
| <result column="count_user" jdbcType="INTEGER" property="countUser"/> | |||
| <result column="qr_code" jdbcType="VARCHAR" property="qrCode"/> | |||
| </resultMap> | |||
| @@ -7,11 +7,11 @@ | |||
| <result column="parent_tenant_id" jdbcType="VARCHAR" property="parentTenantId" /> | |||
| <result column="question_id" jdbcType="BIGINT" property="questionId"/> | |||
| <result column="title" jdbcType="VARCHAR" property="title"/> | |||
| <result column="answer" jdbcType="json" property="answer"/> | |||
| <result column="type" jdbcType="tinyint" property="type"/> | |||
| <result column="create_date" jdbcType="datetime" property="createDate"/> | |||
| <result column="update_date" jdbcType="datetime" property="updateDate"/> | |||
| <result column="sort" jdbcType="int" property="sort"/> | |||
| <result column="answer" jdbcType="VARCHAR" property="answer"/> | |||
| <result column="type" jdbcType="TINYINT" property="type"/> | |||
| <result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> | |||
| <result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> | |||
| <result column="sort" jdbcType="INTEGER" property="sort"/> | |||
| </resultMap> | |||
| <sql id="allColumns"> | |||
| @@ -91,11 +91,11 @@ | |||
| #{item.parentTenantId,jdbcType=VARCHAR}, | |||
| #{item.questionId,jdbcType=BIGINT}, | |||
| #{item.title,jdbcType=VARCHAR}, | |||
| #{item.answer,jdbcType=json}, | |||
| #{item.type,jdbcType=tinyint}, | |||
| #{item.createDate,jdbcType=datetime}, | |||
| #{item.updateDate,jdbcType=datetime}, | |||
| #{item.sort,jdbcType=INT}) | |||
| #{item.answer,jdbcType=VARCHAR}, | |||
| #{item.type,jdbcType=TINYINT}, | |||
| #{item.createDate,jdbcType=TIMESTAMP}, | |||
| #{item.updateDate,jdbcType=TIMESTAMP}, | |||
| #{item.sort,jdbcType=INTEGER}) | |||
| </foreach> | |||
| </insert> | |||
| @@ -5,13 +5,13 @@ | |||
| <id column="id" jdbcType="BIGINT" property="id"/> | |||
| <result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/> | |||
| <result column="parent_tenant_id" jdbcType="VARCHAR" property="parentTenantId" /> | |||
| <result column="user_id" jdbcType="bigint" property="userId"/> | |||
| <result column="user_id" jdbcType="BIGINT" property="userId"/> | |||
| <result column="user_name" jdbcType="VARCHAR" property="userName"/> | |||
| <result column="user_sex" jdbcType="tinyint" property="userSex"/> | |||
| <result column="user_sex" jdbcType="TINYINT" property="userSex"/> | |||
| <result column="user_phone" jdbcType="VARCHAR" property="userPhone"/> | |||
| <result column="question_id" jdbcType="bigint" property="questionId"/> | |||
| <result column="create_date" jdbcType="datetime" property="createDate"/> | |||
| <result column="update_date" jdbcType="datetime" property="updateDate"/> | |||
| <result column="question_id" jdbcType="BIGINT" property="questionId"/> | |||
| <result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> | |||
| <result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> | |||
| </resultMap> | |||
| <sql id="allColumns"> | |||