Antiloveg 8 gadi atpakaļ
vecāks
revīzija
2f4c00fb20

+ 5 - 5
src/main/java/com/goafanti/common/mapper/AchievementMapper.xml

@@ -15,7 +15,7 @@
     <result column="field_b" jdbcType="INTEGER" property="fieldB" />
     <result column="field_c" jdbcType="INTEGER" property="fieldC" />
     <result column="maturity" jdbcType="INTEGER" property="maturity" />
-    <result column="maturity_picture_url" jdbcType="VARCHAR" property="maturityPictureUrl" />
+    <result column="maturity_picture_url" jdbcType="LONGVARCHAR" property="maturityPictureUrl" />
     <result column="maturity_text_file_url" jdbcType="VARCHAR" property="maturityTextFileUrl" />
     <result column="maturity_video_url" jdbcType="VARCHAR" property="maturityVideoUrl" />
     <result column="innovation" jdbcType="INTEGER" property="innovation" />
@@ -97,7 +97,7 @@
       #{name,jdbcType=VARCHAR}, #{keyword,jdbcType=VARCHAR}, #{category,jdbcType=INTEGER}, 
       #{summary,jdbcType=VARCHAR}, #{introduction,jdbcType=VARCHAR}, #{technicalPictureUrl,jdbcType=VARCHAR}, 
       #{fieldA,jdbcType=INTEGER}, #{fieldB,jdbcType=INTEGER}, #{fieldC,jdbcType=INTEGER}, 
-      #{maturity,jdbcType=INTEGER}, #{maturityPictureUrl,jdbcType=VARCHAR}, #{maturityTextFileUrl,jdbcType=VARCHAR}, 
+      #{maturity,jdbcType=INTEGER}, #{maturityPictureUrl,jdbcType=LONGVARCHAR}, #{maturityTextFileUrl,jdbcType=VARCHAR}, 
       #{maturityVideoUrl,jdbcType=VARCHAR}, #{innovation,jdbcType=INTEGER}, #{ownerId,jdbcType=VARCHAR}, #{ownerName,jdbcType=VARCHAR},
       #{ownerType,jdbcType=INTEGER}, #{ownerIdNumber,jdbcType=VARCHAR}, #{ownerMobile,jdbcType=VARCHAR}, 
       #{ownerEmail,jdbcType=VARCHAR}, #{ownerPostalAddress,jdbcType=VARCHAR}, #{cooperationMode,jdbcType=INTEGER}, 
@@ -312,7 +312,7 @@
         #{maturity,jdbcType=INTEGER},
       </if>
       <if test="maturityPictureUrl != null">
-        #{maturityPictureUrl,jdbcType=VARCHAR},
+        #{maturityPictureUrl,jdbcType=LONGVARCHAR},
       </if>
       <if test="maturityTextFileUrl != null">
         #{maturityTextFileUrl,jdbcType=VARCHAR},
@@ -470,7 +470,7 @@
         maturity = #{maturity,jdbcType=INTEGER},
       </if>
       <if test="maturityPictureUrl != null">
-        maturity_picture_url = #{maturityPictureUrl,jdbcType=VARCHAR},
+        maturity_picture_url = #{maturityPictureUrl,jdbcType=LONGVARCHAR},
       </if>
       <if test="maturityTextFileUrl != null">
         maturity_text_file_url = #{maturityTextFileUrl,jdbcType=VARCHAR},
@@ -603,7 +603,7 @@
       field_b = #{fieldB,jdbcType=INTEGER},
       field_c = #{fieldC,jdbcType=INTEGER},
       maturity = #{maturity,jdbcType=INTEGER},
-      maturity_picture_url = #{maturityPictureUrl,jdbcType=VARCHAR},
+      maturity_picture_url = #{maturityPictureUrl,jdbcType=LONGVARCHAR},
       maturity_text_file_url = #{maturityTextFileUrl,jdbcType=VARCHAR},
       maturity_video_url = #{maturityVideoUrl,jdbcType=VARCHAR},
       innovation = #{innovation,jdbcType=INTEGER},