diff --git a/src/main/resources/mappers/FbqdStuAnswerMapper.xml b/src/main/resources/mappers/FbqdStuAnswerMapper.xml index 3188388..7a36cf3 100644 --- a/src/main/resources/mappers/FbqdStuAnswerMapper.xml +++ b/src/main/resources/mappers/FbqdStuAnswerMapper.xml @@ -5,8 +5,6 @@ - - @@ -76,7 +74,7 @@ - id, module, user_id, submit_time, status + id, module, user_id exposure_data, click_data, ad_cost, order_amount, keywords, scene_promotion, crowd_promotion @@ -131,15 +129,13 @@ insert into fbqd_stu_answer (id, module, user_id, - submit_time, status, exposure_data, - click_data, ad_cost, order_amount, - keywords, scene_promotion, crowd_promotion - ) + exposure_data, click_data, ad_cost, + order_amount, keywords, scene_promotion, + crowd_promotion) values (#{id,jdbcType=VARCHAR}, #{module,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, - #{submitTime,jdbcType=TIMESTAMP}, #{status,jdbcType=TINYINT}, #{exposureData,jdbcType=LONGVARCHAR}, - #{clickData,jdbcType=LONGVARCHAR}, #{adCost,jdbcType=LONGVARCHAR}, #{orderAmount,jdbcType=LONGVARCHAR}, - #{keywords,jdbcType=LONGVARCHAR}, #{scenePromotion,jdbcType=LONGVARCHAR}, #{crowdPromotion,jdbcType=LONGVARCHAR} - ) + #{exposureData,jdbcType=LONGVARCHAR}, #{clickData,jdbcType=LONGVARCHAR}, #{adCost,jdbcType=LONGVARCHAR}, + #{orderAmount,jdbcType=LONGVARCHAR}, #{keywords,jdbcType=LONGVARCHAR}, #{scenePromotion,jdbcType=LONGVARCHAR}, + #{crowdPromotion,jdbcType=LONGVARCHAR}) insert into fbqd_stu_answer @@ -153,12 +149,6 @@ user_id, - - submit_time, - - - status, - exposure_data, @@ -191,12 +181,6 @@ #{userId,jdbcType=VARCHAR}, - - #{submitTime,jdbcType=TIMESTAMP}, - - - #{status,jdbcType=TINYINT}, - #{exposureData,jdbcType=LONGVARCHAR}, @@ -238,12 +222,6 @@ user_id = #{record.userId,jdbcType=VARCHAR}, - - submit_time = #{record.submitTime,jdbcType=TIMESTAMP}, - - - status = #{record.status,jdbcType=TINYINT}, - exposure_data = #{record.exposureData,jdbcType=LONGVARCHAR}, @@ -275,8 +253,6 @@ set id = #{record.id,jdbcType=VARCHAR}, module = #{record.module,jdbcType=VARCHAR}, user_id = #{record.userId,jdbcType=VARCHAR}, - submit_time = #{record.submitTime,jdbcType=TIMESTAMP}, - status = #{record.status,jdbcType=TINYINT}, exposure_data = #{record.exposureData,jdbcType=LONGVARCHAR}, click_data = #{record.clickData,jdbcType=LONGVARCHAR}, ad_cost = #{record.adCost,jdbcType=LONGVARCHAR}, @@ -292,9 +268,7 @@ update fbqd_stu_answer set id = #{record.id,jdbcType=VARCHAR}, module = #{record.module,jdbcType=VARCHAR}, - user_id = #{record.userId,jdbcType=VARCHAR}, - submit_time = #{record.submitTime,jdbcType=TIMESTAMP}, - status = #{record.status,jdbcType=TINYINT} + user_id = #{record.userId,jdbcType=VARCHAR} @@ -308,12 +282,6 @@ user_id = #{userId,jdbcType=VARCHAR}, - - submit_time = #{submitTime,jdbcType=TIMESTAMP}, - - - status = #{status,jdbcType=TINYINT}, - exposure_data = #{exposureData,jdbcType=LONGVARCHAR}, @@ -342,8 +310,6 @@ update fbqd_stu_answer set module = #{module,jdbcType=VARCHAR}, user_id = #{userId,jdbcType=VARCHAR}, - submit_time = #{submitTime,jdbcType=TIMESTAMP}, - status = #{status,jdbcType=TINYINT}, exposure_data = #{exposureData,jdbcType=LONGVARCHAR}, click_data = #{clickData,jdbcType=LONGVARCHAR}, ad_cost = #{adCost,jdbcType=LONGVARCHAR}, @@ -356,9 +322,7 @@ update fbqd_stu_answer set module = #{module,jdbcType=VARCHAR}, - user_id = #{userId,jdbcType=VARCHAR}, - submit_time = #{submitTime,jdbcType=TIMESTAMP}, - status = #{status,jdbcType=TINYINT} + user_id = #{userId,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR} \ No newline at end of file