完成产品结构规划全部接口

main
whb 1 year ago
parent 0c741b6765
commit 37b90b9ae1

@ -5,8 +5,6 @@
<id column="id" jdbcType="VARCHAR" property="id" />
<result column="module" jdbcType="VARCHAR" property="module" />
<result column="user_id" jdbcType="VARCHAR" property="userId" />
<result column="submit_time" jdbcType="TIMESTAMP" property="submitTime" />
<result column="status" jdbcType="TINYINT" property="status" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.linkCommerce.entity.FbqdStuAnswer">
<result column="exposure_data" jdbcType="LONGVARCHAR" property="exposureData" />
@ -76,7 +74,7 @@
</where>
</sql>
<sql id="Base_Column_List">
id, module, user_id, submit_time, status
id, module, user_id
</sql>
<sql id="Blob_Column_List">
exposure_data, click_data, ad_cost, order_amount, keywords, scene_promotion, crowd_promotion
@ -131,15 +129,13 @@
</delete>
<insert id="insert" parameterType="com.sztzjy.linkCommerce.entity.FbqdStuAnswer">
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>
<insert id="insertSelective" parameterType="com.sztzjy.linkCommerce.entity.FbqdStuAnswer">
insert into fbqd_stu_answer
@ -153,12 +149,6 @@
<if test="userId != null">
user_id,
</if>
<if test="submitTime != null">
submit_time,
</if>
<if test="status != null">
status,
</if>
<if test="exposureData != null">
exposure_data,
</if>
@ -191,12 +181,6 @@
<if test="userId != null">
#{userId,jdbcType=VARCHAR},
</if>
<if test="submitTime != null">
#{submitTime,jdbcType=TIMESTAMP},
</if>
<if test="status != null">
#{status,jdbcType=TINYINT},
</if>
<if test="exposureData != null">
#{exposureData,jdbcType=LONGVARCHAR},
</if>
@ -238,12 +222,6 @@
<if test="record.userId != null">
user_id = #{record.userId,jdbcType=VARCHAR},
</if>
<if test="record.submitTime != null">
submit_time = #{record.submitTime,jdbcType=TIMESTAMP},
</if>
<if test="record.status != null">
status = #{record.status,jdbcType=TINYINT},
</if>
<if test="record.exposureData != null">
exposure_data = #{record.exposureData,jdbcType=LONGVARCHAR},
</if>
@ -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}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
@ -308,12 +282,6 @@
<if test="userId != null">
user_id = #{userId,jdbcType=VARCHAR},
</if>
<if test="submitTime != null">
submit_time = #{submitTime,jdbcType=TIMESTAMP},
</if>
<if test="status != null">
status = #{status,jdbcType=TINYINT},
</if>
<if test="exposureData != null">
exposure_data = #{exposureData,jdbcType=LONGVARCHAR},
</if>
@ -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 id="updateByPrimaryKey" parameterType="com.sztzjy.linkCommerce.entity.FbqdStuAnswer">
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}
</update>
</mapper>
Loading…
Cancel
Save