|
@@ -1223,6 +1223,7 @@
|
|
|
p.publishTime,
|
|
|
p.publishSource,
|
|
|
p.shopId,
|
|
|
+ p.banner,
|
|
|
p.image,
|
|
|
t.name as typeName,
|
|
|
p.addTime
|
|
@@ -1279,6 +1280,7 @@
|
|
|
p.publishTime,
|
|
|
p.addTime,
|
|
|
p.alias,
|
|
|
+ p.banner,
|
|
|
p.image,
|
|
|
t.name as typeName,
|
|
|
p.publishSource,
|
|
@@ -1409,6 +1411,7 @@
|
|
|
publishTime=#{publishTime},
|
|
|
addTime=NOW(),
|
|
|
alias=#{alias},
|
|
|
+ banner=#{banner},
|
|
|
image=#{image},
|
|
|
publishSource=#{publishSource},
|
|
|
shopId=#{shopId},
|
|
@@ -1421,9 +1424,9 @@
|
|
|
<insert id="insertEntryInfo" useGeneratedKeys="true" keyProperty="id">
|
|
|
insert into cm_baike_product
|
|
|
(commodityType, name, discription, typeId, actualPv, auditStatus, onlineStatus, status, publishTime, addTime,
|
|
|
- alias, image, seoKeyword, publishSource, shopId, labelIds, relatedLabels)
|
|
|
+ alias,banner, image, seoKeyword, publishSource, shopId, labelIds, relatedLabels)
|
|
|
values (#{commodityType}, #{name}, #{discription}, #{typeId}, 0, 1, 1, #{status}, #{publishTime}, NOW(),
|
|
|
- #{alias}, #{image}, #{seoKeyword}, #{publishSource}, #{shopId}, #{labelIds}, #{labelStrs})
|
|
|
+ #{alias}, #{banner}, #{image}, #{seoKeyword}, #{publishSource}, #{shopId}, #{labelIds}, #{labelStrs})
|
|
|
</insert>
|
|
|
|
|
|
<delete id="delImageListByEntryId">
|
|
@@ -1457,8 +1460,8 @@
|
|
|
</delete>
|
|
|
|
|
|
<insert id="insertImage">
|
|
|
- insert into cm_baike_product_image(productId, image)
|
|
|
- values (#{entryId}, #{image})
|
|
|
+ insert into cm_baike_product_image(productId, image,type )
|
|
|
+ values (#{entryId}, #{image}, #{type})
|
|
|
</insert>
|
|
|
|
|
|
<insert id="insertVideo">
|