|
@@ -12,7 +12,7 @@
|
|
payAmount, payFormData, payType, payDate, submitDate, reviewedDate,
|
|
payAmount, payFormData, payType, payDate, submitDate, reviewedDate,
|
|
onLineDate, source, publisher, authenticationImage,
|
|
onLineDate, source, publisher, authenticationImage,
|
|
fileName, ossName, commitmentImage, publishIdentity, licenseImage,
|
|
fileName, ossName, commitmentImage, publishIdentity, licenseImage,
|
|
- authenticationBackImage,userId)
|
|
|
|
|
|
+ authenticationBackImage, userId, buyFlag)
|
|
values (#{productId}, #{sold}, #{secondHandType}, #{instrumentType}, #{fixedYears}, #{maturityYears},
|
|
values (#{productId}, #{sold}, #{secondHandType}, #{instrumentType}, #{fixedYears}, #{maturityYears},
|
|
#{companyName},
|
|
#{companyName},
|
|
#{detailTalkFlag}, #{originalPrice}, #{contactName}, #{contactMobile}, #{dockingPeopleName},
|
|
#{detailTalkFlag}, #{originalPrice}, #{contactName}, #{contactMobile}, #{dockingPeopleName},
|
|
@@ -23,7 +23,7 @@
|
|
#{reviewedDate},
|
|
#{reviewedDate},
|
|
#{onLineDate}, #{source}, #{publisher}, #{authenticationImage}, #{fileName}, #{ossName},
|
|
#{onLineDate}, #{source}, #{publisher}, #{authenticationImage}, #{fileName}, #{ossName},
|
|
#{commitmentImage}, #{publishIdentity},
|
|
#{commitmentImage}, #{publishIdentity},
|
|
- #{licenseImage}, #{authenticationBackImage},#{userId})
|
|
|
|
|
|
+ #{licenseImage}, #{authenticationBackImage}, #{userId}, #{buyFlag})
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertProductImage" parameterType="com.caimei365.commodity.model.po.ProductImagePo">
|
|
<insert id="insertProductImage" parameterType="com.caimei365.commodity.model.po.ProductImagePo">
|
|
insert into productimage (productID, shopID, addTime, image, mainFlag, sortIndex)
|
|
insert into productimage (productID, shopID, addTime, image, mainFlag, sortIndex)
|
|
@@ -76,7 +76,8 @@
|
|
cshd.detailTalkFlag as "detailTalkFlag",
|
|
cshd.detailTalkFlag as "detailTalkFlag",
|
|
cshd.onLineDate as "onLineDate",
|
|
cshd.onLineDate as "onLineDate",
|
|
cshd.viewingNum as "viewingNum",
|
|
cshd.viewingNum as "viewingNum",
|
|
- cshd.provinceCityDistrict as "provinceCityDistrict"
|
|
|
|
|
|
+ cshd.provinceCityDistrict as "provinceCityDistrict",
|
|
|
|
+ cshd.buyFlag
|
|
from product p
|
|
from product p
|
|
left join cm_organize_product_info copi on copi.productId = p.productID and copi.organizeId = 0
|
|
left join cm_organize_product_info copi on copi.productId = p.productID and copi.organizeId = 0
|
|
left join cm_sku cs on p.productID=cs.productId
|
|
left join cm_sku cs on p.productID=cs.productId
|
|
@@ -133,7 +134,8 @@
|
|
cshd.fixedYears,
|
|
cshd.fixedYears,
|
|
cshd.maturityYears,
|
|
cshd.maturityYears,
|
|
cshd.publishIdentity,
|
|
cshd.publishIdentity,
|
|
- cshd.companyName
|
|
|
|
|
|
+ cshd.companyName,
|
|
|
|
+ cshd.buyFlag
|
|
from product p
|
|
from product p
|
|
left join cm_sku cs on p.productID = cs.productId
|
|
left join cm_sku cs on p.productID = cs.productId
|
|
left join cm_second_hand_detail cshd on p.productID = cshd.productID
|
|
left join cm_second_hand_detail cshd on p.productID = cshd.productID
|