新增退出时机表,完成投资报告页面接口

master
xiaoCJ 1 year ago
parent 7cd85b1af5
commit 7ed4c011a8

@ -5,7 +5,7 @@
<id column="id" jdbcType="VARCHAR" property="id" /> <id column="id" jdbcType="VARCHAR" property="id" />
<result column="flow_id" jdbcType="VARCHAR" property="flowId" /> <result column="flow_id" jdbcType="VARCHAR" property="flowId" />
<result column="schoolId" jdbcType="VARCHAR" property="schoolid" /> <result column="schoolId" jdbcType="VARCHAR" property="schoolid" />
<result column="question_time" jdbcType="DATE" property="questionTime" /> <result column="question_time" jdbcType="TIMESTAMP" property="questionTime" />
</resultMap> </resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.fund_investment.entity.QuestionAnswerWithBLOBs"> <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.fund_investment.entity.QuestionAnswerWithBLOBs">
<result column="question_content" jdbcType="LONGVARCHAR" property="questionContent" /> <result column="question_content" jdbcType="LONGVARCHAR" property="questionContent" />
@ -128,7 +128,7 @@
question_time, question_content, reply_content question_time, question_content, reply_content
) )
values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{schoolid,jdbcType=VARCHAR}, values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{schoolid,jdbcType=VARCHAR},
#{questionTime,jdbcType=DATE}, #{questionContent,jdbcType=LONGVARCHAR}, #{replyContent,jdbcType=LONGVARCHAR} #{questionTime,jdbcType=TIMESTAMP}, #{questionContent,jdbcType=LONGVARCHAR}, #{replyContent,jdbcType=LONGVARCHAR}
) )
</insert> </insert>
<insert id="insertSelective" parameterType="com.sztzjy.fund_investment.entity.QuestionAnswerWithBLOBs"> <insert id="insertSelective" parameterType="com.sztzjy.fund_investment.entity.QuestionAnswerWithBLOBs">
@ -164,7 +164,7 @@
#{schoolid,jdbcType=VARCHAR}, #{schoolid,jdbcType=VARCHAR},
</if> </if>
<if test="questionTime != null"> <if test="questionTime != null">
#{questionTime,jdbcType=DATE}, #{questionTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="questionContent != null"> <if test="questionContent != null">
#{questionContent,jdbcType=LONGVARCHAR}, #{questionContent,jdbcType=LONGVARCHAR},
@ -193,7 +193,7 @@
schoolId = #{record.schoolid,jdbcType=VARCHAR}, schoolId = #{record.schoolid,jdbcType=VARCHAR},
</if> </if>
<if test="record.questionTime != null"> <if test="record.questionTime != null">
question_time = #{record.questionTime,jdbcType=DATE}, question_time = #{record.questionTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="record.questionContent != null"> <if test="record.questionContent != null">
question_content = #{record.questionContent,jdbcType=LONGVARCHAR}, question_content = #{record.questionContent,jdbcType=LONGVARCHAR},
@ -211,7 +211,7 @@
set id = #{record.id,jdbcType=VARCHAR}, set id = #{record.id,jdbcType=VARCHAR},
flow_id = #{record.flowId,jdbcType=VARCHAR}, flow_id = #{record.flowId,jdbcType=VARCHAR},
schoolId = #{record.schoolid,jdbcType=VARCHAR}, schoolId = #{record.schoolid,jdbcType=VARCHAR},
question_time = #{record.questionTime,jdbcType=DATE}, question_time = #{record.questionTime,jdbcType=TIMESTAMP},
question_content = #{record.questionContent,jdbcType=LONGVARCHAR}, question_content = #{record.questionContent,jdbcType=LONGVARCHAR},
reply_content = #{record.replyContent,jdbcType=LONGVARCHAR} reply_content = #{record.replyContent,jdbcType=LONGVARCHAR}
<if test="_parameter != null"> <if test="_parameter != null">
@ -223,7 +223,7 @@
set id = #{record.id,jdbcType=VARCHAR}, set id = #{record.id,jdbcType=VARCHAR},
flow_id = #{record.flowId,jdbcType=VARCHAR}, flow_id = #{record.flowId,jdbcType=VARCHAR},
schoolId = #{record.schoolid,jdbcType=VARCHAR}, schoolId = #{record.schoolid,jdbcType=VARCHAR},
question_time = #{record.questionTime,jdbcType=DATE} question_time = #{record.questionTime,jdbcType=TIMESTAMP}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
@ -238,7 +238,7 @@
schoolId = #{schoolid,jdbcType=VARCHAR}, schoolId = #{schoolid,jdbcType=VARCHAR},
</if> </if>
<if test="questionTime != null"> <if test="questionTime != null">
question_time = #{questionTime,jdbcType=DATE}, question_time = #{questionTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="questionContent != null"> <if test="questionContent != null">
question_content = #{questionContent,jdbcType=LONGVARCHAR}, question_content = #{questionContent,jdbcType=LONGVARCHAR},
@ -253,7 +253,7 @@
update question_answer update question_answer
set flow_id = #{flowId,jdbcType=VARCHAR}, set flow_id = #{flowId,jdbcType=VARCHAR},
schoolId = #{schoolid,jdbcType=VARCHAR}, schoolId = #{schoolid,jdbcType=VARCHAR},
question_time = #{questionTime,jdbcType=DATE}, question_time = #{questionTime,jdbcType=TIMESTAMP},
question_content = #{questionContent,jdbcType=LONGVARCHAR}, question_content = #{questionContent,jdbcType=LONGVARCHAR},
reply_content = #{replyContent,jdbcType=LONGVARCHAR} reply_content = #{replyContent,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
@ -262,7 +262,7 @@
update question_answer update question_answer
set flow_id = #{flowId,jdbcType=VARCHAR}, set flow_id = #{flowId,jdbcType=VARCHAR},
schoolId = #{schoolid,jdbcType=VARCHAR}, schoolId = #{schoolid,jdbcType=VARCHAR},
question_time = #{questionTime,jdbcType=DATE} question_time = #{questionTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
</update> </update>
</mapper> </mapper>
Loading…
Cancel
Save