|
@@ -9,7 +9,7 @@
|
|
|
<result column="keyword" jdbcType="VARCHAR" property="keyword" />
|
|
<result column="keyword" jdbcType="VARCHAR" property="keyword" />
|
|
|
<result column="category" jdbcType="INTEGER" property="category" />
|
|
<result column="category" jdbcType="INTEGER" property="category" />
|
|
|
<result column="summary" jdbcType="VARCHAR" property="summary" />
|
|
<result column="summary" jdbcType="VARCHAR" property="summary" />
|
|
|
- <result column="introduction" jdbcType="VARCHAR" property="introduction" />
|
|
|
|
|
|
|
+ <result column="introduction" jdbcType="LONGVARCHAR" property="introduction" />
|
|
|
<result column="technical_picture_url" jdbcType="VARCHAR" property="technicalPictureUrl" />
|
|
<result column="technical_picture_url" jdbcType="VARCHAR" property="technicalPictureUrl" />
|
|
|
<result column="field_a" jdbcType="INTEGER" property="fieldA" />
|
|
<result column="field_a" jdbcType="INTEGER" property="fieldA" />
|
|
|
<result column="field_b" jdbcType="INTEGER" property="fieldB" />
|
|
<result column="field_b" jdbcType="INTEGER" property="fieldB" />
|
|
@@ -101,7 +101,7 @@
|
|
|
country_name_zh,international_flag,jmrh_flag,boutique)
|
|
country_name_zh,international_flag,jmrh_flag,boutique)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{serialNumber,jdbcType=INTEGER}, #{dataCategory,jdbcType=INTEGER},
|
|
values (#{id,jdbcType=VARCHAR}, #{serialNumber,jdbcType=INTEGER}, #{dataCategory,jdbcType=INTEGER},
|
|
|
#{name,jdbcType=VARCHAR}, #{keyword,jdbcType=VARCHAR}, #{category,jdbcType=INTEGER},
|
|
#{name,jdbcType=VARCHAR}, #{keyword,jdbcType=VARCHAR}, #{category,jdbcType=INTEGER},
|
|
|
- #{summary,jdbcType=VARCHAR}, #{introduction,jdbcType=VARCHAR}, #{technicalPictureUrl,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ #{summary,jdbcType=VARCHAR}, #{introduction,jdbcType=LONGVARCHAR}, #{technicalPictureUrl,jdbcType=VARCHAR},
|
|
|
#{fieldA,jdbcType=INTEGER}, #{fieldB,jdbcType=INTEGER}, #{fieldC,jdbcType=INTEGER},
|
|
#{fieldA,jdbcType=INTEGER}, #{fieldB,jdbcType=INTEGER}, #{fieldC,jdbcType=INTEGER},
|
|
|
#{maturity,jdbcType=INTEGER}, #{maturityPictureUrl,jdbcType=LONGVARCHAR}, #{maturityTextFileUrl,jdbcType=VARCHAR},
|
|
#{maturity,jdbcType=INTEGER}, #{maturityPictureUrl,jdbcType=LONGVARCHAR}, #{maturityTextFileUrl,jdbcType=VARCHAR},
|
|
|
#{maturityVideoUrl,jdbcType=VARCHAR}, #{innovation,jdbcType=INTEGER}, #{ownerId,jdbcType=VARCHAR}, #{ownerName,jdbcType=VARCHAR},
|
|
#{maturityVideoUrl,jdbcType=VARCHAR}, #{innovation,jdbcType=INTEGER}, #{ownerId,jdbcType=VARCHAR}, #{ownerName,jdbcType=VARCHAR},
|
|
@@ -313,7 +313,7 @@
|
|
|
#{summary,jdbcType=VARCHAR},
|
|
#{summary,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="introduction != null">
|
|
<if test="introduction != null">
|
|
|
- #{introduction,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ #{introduction,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="technicalPictureUrl != null">
|
|
<if test="technicalPictureUrl != null">
|
|
|
#{technicalPictureUrl,jdbcType=VARCHAR},
|
|
#{technicalPictureUrl,jdbcType=VARCHAR},
|
|
@@ -483,7 +483,7 @@
|
|
|
summary = #{summary,jdbcType=VARCHAR},
|
|
summary = #{summary,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="introduction != null">
|
|
<if test="introduction != null">
|
|
|
- introduction = #{introduction,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ introduction = #{introduction,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="technicalPictureUrl != null">
|
|
<if test="technicalPictureUrl != null">
|
|
|
technical_picture_url = #{technicalPictureUrl,jdbcType=VARCHAR},
|
|
technical_picture_url = #{technicalPictureUrl,jdbcType=VARCHAR},
|
|
@@ -640,7 +640,7 @@
|
|
|
keyword = #{keyword,jdbcType=VARCHAR},
|
|
keyword = #{keyword,jdbcType=VARCHAR},
|
|
|
category = #{category,jdbcType=INTEGER},
|
|
category = #{category,jdbcType=INTEGER},
|
|
|
summary = #{summary,jdbcType=VARCHAR},
|
|
summary = #{summary,jdbcType=VARCHAR},
|
|
|
- introduction = #{introduction,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ introduction = #{introduction,jdbcType=LONGVARCHAR},
|
|
|
technical_picture_url = #{technicalPictureUrl,jdbcType=VARCHAR},
|
|
technical_picture_url = #{technicalPictureUrl,jdbcType=VARCHAR},
|
|
|
field_a = #{fieldA,jdbcType=INTEGER},
|
|
field_a = #{fieldA,jdbcType=INTEGER},
|
|
|
field_b = #{fieldB,jdbcType=INTEGER},
|
|
field_b = #{fieldB,jdbcType=INTEGER},
|
|
@@ -1065,7 +1065,7 @@
|
|
|
#{item.name,jdbcType=VARCHAR}, #{item.keyword,jdbcType=VARCHAR}, #{item.category,jdbcType=INTEGER},
|
|
#{item.name,jdbcType=VARCHAR}, #{item.keyword,jdbcType=VARCHAR}, #{item.category,jdbcType=INTEGER},
|
|
|
#{item.ownerName,jdbcType=VARCHAR}, #{item.ownerType,jdbcType=VARCHAR}, #{item.ownerIdNumber,jdbcType=VARCHAR},
|
|
#{item.ownerName,jdbcType=VARCHAR}, #{item.ownerType,jdbcType=VARCHAR}, #{item.ownerIdNumber,jdbcType=VARCHAR},
|
|
|
#{item.ownerMobile,jdbcType=VARCHAR}, #{item.ownerEmail,jdbcType=VARCHAR}, #{item.ownerPostalAddress,jdbcType=VARCHAR},
|
|
#{item.ownerMobile,jdbcType=VARCHAR}, #{item.ownerEmail,jdbcType=VARCHAR}, #{item.ownerPostalAddress,jdbcType=VARCHAR},
|
|
|
- #{item.cooperationMode,jdbcType=INTEGER}, #{item.introduction,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ #{item.cooperationMode,jdbcType=INTEGER}, #{item.introduction,jdbcType=LONGVARCHAR}
|
|
|
)
|
|
)
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</insert>
|
|
</insert>
|
|
@@ -1082,18 +1082,12 @@
|
|
|
from achievement a
|
|
from achievement a
|
|
|
left join user u on u.id = a.owner_id
|
|
left join user u on u.id = a.owner_id
|
|
|
where a.deleted_sign = 0
|
|
where a.deleted_sign = 0
|
|
|
- and fieldA = #{fieldA,jdbcType=INTEGER}
|
|
|
|
|
- and dataCategory = #{dataCategory,jdbcType=INTEGER}
|
|
|
|
|
- and category = #{category,jdbcType=INTEGER}
|
|
|
|
|
<if test="keyword != null">
|
|
<if test="keyword != null">
|
|
|
and a.keyword like "%"#{keyword,jdbcType=VARCHAR}"%"
|
|
and a.keyword like "%"#{keyword,jdbcType=VARCHAR}"%"
|
|
|
</if>
|
|
</if>
|
|
|
<if test="category != null">
|
|
<if test="category != null">
|
|
|
and a.category = #{category,jdbcType=INTEGER}
|
|
and a.category = #{category,jdbcType=INTEGER}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="dataCategory != null">
|
|
|
|
|
- and a.dataCategory = #{dataCategory,jdbcType=INTEGER}
|
|
|
|
|
- </if>
|
|
|
|
|
<if test="bargainingMode != null">
|
|
<if test="bargainingMode != null">
|
|
|
and a.bargaining_mode = #{bargainingMode,jdbcType=INTEGER}
|
|
and a.bargaining_mode = #{bargainingMode,jdbcType=INTEGER}
|
|
|
</if>
|
|
</if>
|