|
|
|
@ -24,13 +24,13 @@
|
|
|
|
<result column="img_seven" jdbcType="VARCHAR" property="imgSeven" />
|
|
|
|
<result column="img_seven" jdbcType="VARCHAR" property="imgSeven" />
|
|
|
|
<result column="img_eight" jdbcType="VARCHAR" property="imgEight" />
|
|
|
|
<result column="img_eight" jdbcType="VARCHAR" property="imgEight" />
|
|
|
|
<result column="img_nine" jdbcType="VARCHAR" property="imgNine" />
|
|
|
|
<result column="img_nine" jdbcType="VARCHAR" property="imgNine" />
|
|
|
|
<result column="img_ten" jdbcType="VARCHAR" property="imgTen" />
|
|
|
|
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.linkCommerce.entity.CpjgghStuAnswer">
|
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.linkCommerce.entity.CpjgghStuAnswer">
|
|
|
|
<result column="product_categories" jdbcType="LONGVARCHAR" property="productCategories" />
|
|
|
|
<result column="product_categories" jdbcType="LONGVARCHAR" property="productCategories" />
|
|
|
|
<result column="rationality" jdbcType="LONGVARCHAR" property="rationality" />
|
|
|
|
<result column="rationality" jdbcType="LONGVARCHAR" property="rationality" />
|
|
|
|
<result column="optimization_suggestions" jdbcType="LONGVARCHAR" property="optimizationSuggestions" />
|
|
|
|
<result column="optimization_suggestions" jdbcType="LONGVARCHAR" property="optimizationSuggestions" />
|
|
|
|
<result column="context" jdbcType="LONGVARCHAR" property="context" />
|
|
|
|
<result column="context" jdbcType="LONGVARCHAR" property="context" />
|
|
|
|
|
|
|
|
<result column="img_ten" jdbcType="LONGVARCHAR" property="imgTen" />
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
<sql id="Example_Where_Clause">
|
|
|
|
<sql id="Example_Where_Clause">
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
@ -94,10 +94,10 @@
|
|
|
|
id, taobao_url, image_product, popular_product1, popular_product2, popular_product3,
|
|
|
|
id, taobao_url, image_product, popular_product1, popular_product2, popular_product3,
|
|
|
|
main_product, traffic_product, daily_product, event_product, profit_product, flagship_product,
|
|
|
|
main_product, traffic_product, daily_product, event_product, profit_product, flagship_product,
|
|
|
|
user_id, img_one, img_two, img_three, img_four, img_five, img_six, img_seven, img_eight,
|
|
|
|
user_id, img_one, img_two, img_three, img_four, img_five, img_six, img_seven, img_eight,
|
|
|
|
img_nine, img_ten
|
|
|
|
img_nine
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<sql id="Blob_Column_List">
|
|
|
|
<sql id="Blob_Column_List">
|
|
|
|
product_categories, rationality, optimization_suggestions, context
|
|
|
|
product_categories, rationality, optimization_suggestions, context, img_ten
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswerExample" resultMap="ResultMapWithBLOBs">
|
|
|
|
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswerExample" resultMap="ResultMapWithBLOBs">
|
|
|
|
select
|
|
|
|
select
|
|
|
|
@ -155,9 +155,9 @@
|
|
|
|
user_id, img_one, img_two,
|
|
|
|
user_id, img_one, img_two,
|
|
|
|
img_three, img_four, img_five,
|
|
|
|
img_three, img_four, img_five,
|
|
|
|
img_six, img_seven, img_eight,
|
|
|
|
img_six, img_seven, img_eight,
|
|
|
|
img_nine, img_ten, product_categories,
|
|
|
|
img_nine, product_categories, rationality,
|
|
|
|
rationality, optimization_suggestions,
|
|
|
|
optimization_suggestions, context,
|
|
|
|
context)
|
|
|
|
img_ten)
|
|
|
|
values (#{id,jdbcType=VARCHAR}, #{taobaoUrl,jdbcType=VARCHAR}, #{imageProduct,jdbcType=VARCHAR},
|
|
|
|
values (#{id,jdbcType=VARCHAR}, #{taobaoUrl,jdbcType=VARCHAR}, #{imageProduct,jdbcType=VARCHAR},
|
|
|
|
#{popularProduct1,jdbcType=VARCHAR}, #{popularProduct2,jdbcType=VARCHAR}, #{popularProduct3,jdbcType=VARCHAR},
|
|
|
|
#{popularProduct1,jdbcType=VARCHAR}, #{popularProduct2,jdbcType=VARCHAR}, #{popularProduct3,jdbcType=VARCHAR},
|
|
|
|
#{mainProduct,jdbcType=VARCHAR}, #{trafficProduct,jdbcType=VARCHAR}, #{dailyProduct,jdbcType=VARCHAR},
|
|
|
|
#{mainProduct,jdbcType=VARCHAR}, #{trafficProduct,jdbcType=VARCHAR}, #{dailyProduct,jdbcType=VARCHAR},
|
|
|
|
@ -165,9 +165,9 @@
|
|
|
|
#{userId,jdbcType=VARCHAR}, #{imgOne,jdbcType=VARCHAR}, #{imgTwo,jdbcType=VARCHAR},
|
|
|
|
#{userId,jdbcType=VARCHAR}, #{imgOne,jdbcType=VARCHAR}, #{imgTwo,jdbcType=VARCHAR},
|
|
|
|
#{imgThree,jdbcType=VARCHAR}, #{imgFour,jdbcType=VARCHAR}, #{imgFive,jdbcType=VARCHAR},
|
|
|
|
#{imgThree,jdbcType=VARCHAR}, #{imgFour,jdbcType=VARCHAR}, #{imgFive,jdbcType=VARCHAR},
|
|
|
|
#{imgSix,jdbcType=VARCHAR}, #{imgSeven,jdbcType=VARCHAR}, #{imgEight,jdbcType=VARCHAR},
|
|
|
|
#{imgSix,jdbcType=VARCHAR}, #{imgSeven,jdbcType=VARCHAR}, #{imgEight,jdbcType=VARCHAR},
|
|
|
|
#{imgNine,jdbcType=VARCHAR}, #{imgTen,jdbcType=VARCHAR}, #{productCategories,jdbcType=LONGVARCHAR},
|
|
|
|
#{imgNine,jdbcType=VARCHAR}, #{productCategories,jdbcType=LONGVARCHAR}, #{rationality,jdbcType=LONGVARCHAR},
|
|
|
|
#{rationality,jdbcType=LONGVARCHAR}, #{optimizationSuggestions,jdbcType=LONGVARCHAR},
|
|
|
|
#{optimizationSuggestions,jdbcType=LONGVARCHAR}, #{context,jdbcType=LONGVARCHAR},
|
|
|
|
#{context,jdbcType=LONGVARCHAR})
|
|
|
|
#{imgTen,jdbcType=LONGVARCHAR})
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswer">
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswer">
|
|
|
|
insert into cpjggh_stu_answer
|
|
|
|
insert into cpjggh_stu_answer
|
|
|
|
@ -238,9 +238,6 @@
|
|
|
|
<if test="imgNine != null">
|
|
|
|
<if test="imgNine != null">
|
|
|
|
img_nine,
|
|
|
|
img_nine,
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="imgTen != null">
|
|
|
|
|
|
|
|
img_ten,
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="productCategories != null">
|
|
|
|
<if test="productCategories != null">
|
|
|
|
product_categories,
|
|
|
|
product_categories,
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
@ -253,6 +250,9 @@
|
|
|
|
<if test="context != null">
|
|
|
|
<if test="context != null">
|
|
|
|
context,
|
|
|
|
context,
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="imgTen != null">
|
|
|
|
|
|
|
|
img_ten,
|
|
|
|
|
|
|
|
</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<if test="id != null">
|
|
|
|
<if test="id != null">
|
|
|
|
@ -321,9 +321,6 @@
|
|
|
|
<if test="imgNine != null">
|
|
|
|
<if test="imgNine != null">
|
|
|
|
#{imgNine,jdbcType=VARCHAR},
|
|
|
|
#{imgNine,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="imgTen != null">
|
|
|
|
|
|
|
|
#{imgTen,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="productCategories != null">
|
|
|
|
<if test="productCategories != null">
|
|
|
|
#{productCategories,jdbcType=LONGVARCHAR},
|
|
|
|
#{productCategories,jdbcType=LONGVARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
@ -336,6 +333,9 @@
|
|
|
|
<if test="context != null">
|
|
|
|
<if test="context != null">
|
|
|
|
#{context,jdbcType=LONGVARCHAR},
|
|
|
|
#{context,jdbcType=LONGVARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="imgTen != null">
|
|
|
|
|
|
|
|
#{imgTen,jdbcType=LONGVARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
<select id="countByExample" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswerExample" resultType="java.lang.Long">
|
|
|
|
<select id="countByExample" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswerExample" resultType="java.lang.Long">
|
|
|
|
@ -413,9 +413,6 @@
|
|
|
|
<if test="record.imgNine != null">
|
|
|
|
<if test="record.imgNine != null">
|
|
|
|
img_nine = #{record.imgNine,jdbcType=VARCHAR},
|
|
|
|
img_nine = #{record.imgNine,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="record.imgTen != null">
|
|
|
|
|
|
|
|
img_ten = #{record.imgTen,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="record.productCategories != null">
|
|
|
|
<if test="record.productCategories != null">
|
|
|
|
product_categories = #{record.productCategories,jdbcType=LONGVARCHAR},
|
|
|
|
product_categories = #{record.productCategories,jdbcType=LONGVARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
@ -428,6 +425,9 @@
|
|
|
|
<if test="record.context != null">
|
|
|
|
<if test="record.context != null">
|
|
|
|
context = #{record.context,jdbcType=LONGVARCHAR},
|
|
|
|
context = #{record.context,jdbcType=LONGVARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="record.imgTen != null">
|
|
|
|
|
|
|
|
img_ten = #{record.imgTen,jdbcType=LONGVARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
</set>
|
|
|
|
</set>
|
|
|
|
<if test="_parameter != null">
|
|
|
|
<if test="_parameter != null">
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
@ -457,11 +457,11 @@
|
|
|
|
img_seven = #{record.imgSeven,jdbcType=VARCHAR},
|
|
|
|
img_seven = #{record.imgSeven,jdbcType=VARCHAR},
|
|
|
|
img_eight = #{record.imgEight,jdbcType=VARCHAR},
|
|
|
|
img_eight = #{record.imgEight,jdbcType=VARCHAR},
|
|
|
|
img_nine = #{record.imgNine,jdbcType=VARCHAR},
|
|
|
|
img_nine = #{record.imgNine,jdbcType=VARCHAR},
|
|
|
|
img_ten = #{record.imgTen,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
product_categories = #{record.productCategories,jdbcType=LONGVARCHAR},
|
|
|
|
product_categories = #{record.productCategories,jdbcType=LONGVARCHAR},
|
|
|
|
rationality = #{record.rationality,jdbcType=LONGVARCHAR},
|
|
|
|
rationality = #{record.rationality,jdbcType=LONGVARCHAR},
|
|
|
|
optimization_suggestions = #{record.optimizationSuggestions,jdbcType=LONGVARCHAR},
|
|
|
|
optimization_suggestions = #{record.optimizationSuggestions,jdbcType=LONGVARCHAR},
|
|
|
|
context = #{record.context,jdbcType=LONGVARCHAR}
|
|
|
|
context = #{record.context,jdbcType=LONGVARCHAR},
|
|
|
|
|
|
|
|
img_ten = #{record.imgTen,jdbcType=LONGVARCHAR}
|
|
|
|
<if test="_parameter != null">
|
|
|
|
<if test="_parameter != null">
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
@ -489,8 +489,7 @@
|
|
|
|
img_six = #{record.imgSix,jdbcType=VARCHAR},
|
|
|
|
img_six = #{record.imgSix,jdbcType=VARCHAR},
|
|
|
|
img_seven = #{record.imgSeven,jdbcType=VARCHAR},
|
|
|
|
img_seven = #{record.imgSeven,jdbcType=VARCHAR},
|
|
|
|
img_eight = #{record.imgEight,jdbcType=VARCHAR},
|
|
|
|
img_eight = #{record.imgEight,jdbcType=VARCHAR},
|
|
|
|
img_nine = #{record.imgNine,jdbcType=VARCHAR},
|
|
|
|
img_nine = #{record.imgNine,jdbcType=VARCHAR}
|
|
|
|
img_ten = #{record.imgTen,jdbcType=VARCHAR}
|
|
|
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
<if test="_parameter != null">
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
@ -561,9 +560,6 @@
|
|
|
|
<if test="imgNine != null">
|
|
|
|
<if test="imgNine != null">
|
|
|
|
img_nine = #{imgNine,jdbcType=VARCHAR},
|
|
|
|
img_nine = #{imgNine,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="imgTen != null">
|
|
|
|
|
|
|
|
img_ten = #{imgTen,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="productCategories != null">
|
|
|
|
<if test="productCategories != null">
|
|
|
|
product_categories = #{productCategories,jdbcType=LONGVARCHAR},
|
|
|
|
product_categories = #{productCategories,jdbcType=LONGVARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
@ -576,6 +572,9 @@
|
|
|
|
<if test="context != null">
|
|
|
|
<if test="context != null">
|
|
|
|
context = #{context,jdbcType=LONGVARCHAR},
|
|
|
|
context = #{context,jdbcType=LONGVARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="imgTen != null">
|
|
|
|
|
|
|
|
img_ten = #{imgTen,jdbcType=LONGVARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
</set>
|
|
|
|
</set>
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
@ -602,11 +601,11 @@
|
|
|
|
img_seven = #{imgSeven,jdbcType=VARCHAR},
|
|
|
|
img_seven = #{imgSeven,jdbcType=VARCHAR},
|
|
|
|
img_eight = #{imgEight,jdbcType=VARCHAR},
|
|
|
|
img_eight = #{imgEight,jdbcType=VARCHAR},
|
|
|
|
img_nine = #{imgNine,jdbcType=VARCHAR},
|
|
|
|
img_nine = #{imgNine,jdbcType=VARCHAR},
|
|
|
|
img_ten = #{imgTen,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
product_categories = #{productCategories,jdbcType=LONGVARCHAR},
|
|
|
|
product_categories = #{productCategories,jdbcType=LONGVARCHAR},
|
|
|
|
rationality = #{rationality,jdbcType=LONGVARCHAR},
|
|
|
|
rationality = #{rationality,jdbcType=LONGVARCHAR},
|
|
|
|
optimization_suggestions = #{optimizationSuggestions,jdbcType=LONGVARCHAR},
|
|
|
|
optimization_suggestions = #{optimizationSuggestions,jdbcType=LONGVARCHAR},
|
|
|
|
context = #{context,jdbcType=LONGVARCHAR}
|
|
|
|
context = #{context,jdbcType=LONGVARCHAR},
|
|
|
|
|
|
|
|
img_ten = #{imgTen,jdbcType=LONGVARCHAR}
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswer">
|
|
|
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswer">
|
|
|
|
@ -631,8 +630,7 @@
|
|
|
|
img_six = #{imgSix,jdbcType=VARCHAR},
|
|
|
|
img_six = #{imgSix,jdbcType=VARCHAR},
|
|
|
|
img_seven = #{imgSeven,jdbcType=VARCHAR},
|
|
|
|
img_seven = #{imgSeven,jdbcType=VARCHAR},
|
|
|
|
img_eight = #{imgEight,jdbcType=VARCHAR},
|
|
|
|
img_eight = #{imgEight,jdbcType=VARCHAR},
|
|
|
|
img_nine = #{imgNine,jdbcType=VARCHAR},
|
|
|
|
img_nine = #{imgNine,jdbcType=VARCHAR}
|
|
|
|
img_ten = #{imgTen,jdbcType=VARCHAR}
|
|
|
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|