a.productID AS "id",
a.productID AS "productID",
a.brandID AS "brandID",
a.bigTypeID AS "bigTypeID",
ifnull(a.smallTypeID,-1) AS "smallTypeID",
ifnull(a.tinyTypeID,-1) AS "tinyTypeID",
a.selfTypeID AS "selfTypeID",
a.preferredFlag AS "preferredFlag",
a.shopID AS "shopID",
a.name AS "name",
a.searchKey AS "searchKey",
a.combinationID AS "combinationID",
a.productRemarks AS "productRemarks",
a.normalPrice AS "normalPrice",
a.price AS "price",
a.highestUserLevelPrice AS "highestUserLevelPrice",
a.lowestUserLevelPrice AS "lowestUserLevelPrice",
a.lowestUserLevelID AS "lowestUserLevelID",
a.price0 AS "price0",
a.price0Text AS "price0Text",
a.price0TextFlag AS "price0TextFlag",
a.price1 AS "price1",
a.price1Text AS "price1Text",
a.price1TextFlag AS "price1TextFlag",
a.price8 AS "price8",
a.price8Text AS "price8Text",
a.price8TextFlag AS "price8TextFlag",
a.ladderPriceFlag AS "ladderPriceFlag",
a.price2 AS "price2",
a.price3 AS "price3",
a.price4 AS "price4",
a.price5 AS "price5",
a.price6 AS "price6",
a.price7 AS "price7",
a.fee AS "fee",
a.stock AS "stock",
a.hasSkuFlag AS "hasSkuFlag",
a.mainImage AS "mainImage",
a.propertiesInfo AS "propertiesInfo",
a.addTime AS "addTime",
a.updateTime AS "updateTime",
a.sellNumber AS "sellNumber",
a.weekSellNumber AS "weekSellNumber",
a.beforeValidFlag AS "beforeValidFlag",
a.validFlag AS "validFlag",
a.favoriteTimes AS "favoriteTimes",
a.commentScore AS "commentScore",
a.commentTimes AS "commentTimes",
a.selfRecommendFlag AS "selfRecommendFlag",
a.sysRecommendFlag AS "sysRecommendFlag",
a.sortIndex AS "sortIndex",
a.featuredFlag AS "featuredFlag",
a.featuredSortIndex AS "featuredSortIndex",
a.productCode AS "productCode",
a.rate1 AS "rate1",
a.rate2 AS "rate2",
a.unit AS "unit",
a.synToERPFlag AS "synToERPFlag",
a.allAreaFlag AS "allAreaFlag",
a.provinceIDs AS "provinceIDs",
a.serviceNumber AS "serviceNumber",
a.maxBuyNumber AS "maxBuyNumber",
a.virtualFlag AS "virtualFlag",
a.minBuyNumber AS "minBuyNumber",
a.packageCount AS "packageCount",
a.byFlag AS "byFlag",
a.normalProductFlag AS "normalProductFlag",
a.wholeSaleProductFlag AS "wholeSaleProductFlag",
a.promotionProductFlag AS "promotionProductFlag",
a.groupBuyProductFlag AS "groupBuyProductFlag",
a.step AS "step",
a.speCommisionFlag AS "speCommisionFlag",
a.speCommision AS "speCommision",
a.videourl AS "videourl",
a.props AS "props",
a.providers AS "providers",
a.serviceCommissionRatio AS "serviceCommissionRatio",
a.reCommissionRatio AS "reCommissionRatio",
a.pushToERPName AS "pushToERPName",
a.prodBeans AS "prodBeans",
a.useBeansFlag AS "useBeansFlag",
a.privateFlag AS "privateFlag",
a.invisibleServiceProviderIDs AS "invisibleServiceProviderIDs",
a.displayOnCRMFlag AS "displayOnCRMFlag",
a.needServiceFlag AS "needServiceFlag",
a.actStatus AS "actStatus",
a.actPrice0 AS "actPrice0",
a.actPrice1 AS "actPrice1",
a.actPrice2 AS "actPrice2",
a.actPrice3 AS "actPrice3",
a.actPrice4 AS "actPrice4",
a.actPrice5 AS "actPrice5",
a.actPrice6 AS "actPrice6",
a.actPrice7 AS "actPrice7",
a.beginTime AS "beginTime",
a.endTime AS "endTime",
a.actFlag AS "actFlag",
a.actType AS "actType",
a.actFullReduceAmount AS "actFullReduceAmount",
a.actReduceAmount AS "actReduceAmount",
a.actFullGiftAmount AS "actFullGiftAmount",
a.actBuyGiftNum AS "actBuyGiftNum",
a.onlineTime AS "onlineTime",
a.downlineTime AS "downlineTime",
a.shopIndexModuleID AS "shopIndexModuleID",
a.freePostFlag AS "freePostFlag",
a.crmBigTypeId AS "crmBigTypeId",
a.crmSmallTypeId AS "crmSmallTypeId",
a.costPrice AS "costPrice",
a.costProportional AS "costProportional",
a.costCheckFlag AS "costCheckFlag",
a.precisehKey AS "precisehKey",
a.docBoost AS "docBoost",
a.cmbeanFlag AS "cmbeanFlag",
a.cmbeanPrice AS "cmbeanPrice",
a.cmbeanSort AS "cmbeanSort",
s.name AS "shopName",
a.actSort AS "actSort",
a.actCreateTime AS "actCreateTime",
a.recommendType AS "recommendType",
a.aliasName as "aliasName",
a.price0Grade as "price0Grade",
a.price1Grade as "price1Grade",
a.price8Grade as "price8Grade",
a.visibility as "visibility",
a.surplusTime as "surplusTime",
a.productType as "productType",
a.qualificationImg as "qualificationImg",
a.includedTax as "includedTax",
a.invoiceType as "invoiceType",
a.taxPoint as "taxPoint",
a.priceType as "priceType",
a.tags as "tags",
a.machineType as "machineType",
a.trainingMethod as "trainingMethod",
a.trainingType as "trainingType",
a.trainingFee as "trainingFee",
a.commodityType as "commodityType"
LEFT JOIN shop s on s.shopID = a.shopID
LEFT JOIN shop s on s.shopID = a.shopID
UPDATE cm_search_recommend_product SET
sort = #{sort}
WHERE id = #{id}
INSERT INTO product(
productID,
brandID,
bigTypeID,
smallTypeID,
tinyTypeID,
selfTypeID,
shopID,
name,
searchKey,
normalPrice,
price,
highestUserLevelPrice,
lowestUserLevelPrice,
lowestUserLevelID,
price0,
price0Text,
price0TextFlag,
price1,
price1Text,
price1TextFlag,
price8,
price8Text,
price8TextFlag,
ladderPriceFlag,
price2,
price3,
price4,
price5,
price6,
price7,
fee,
stock,
hasSkuFlag,
mainImage,
propertiesInfo,
addTime,
updateTime,
weekSellNumber,
beforeValidFlag,
validFlag,
favoriteTimes,
commentScore,
commentTimes,
selfRecommendFlag,
sysRecommendFlag,
sortIndex,
featuredFlag,
featuredSortIndex,
productCode,
rate1,
rate2,
unit,
synToERPFlag,
allAreaFlag,
provinceIDs,
serviceNumber,
maxBuyNumber,
virtualFlag,
minBuyNumber,
packageCount,
byFlag,
normalProductFlag,
wholeSaleProductFlag,
promotionProductFlag,
groupBuyProductFlag,
step,
speCommisionFlag,
speCommision,
videourl,
props,
providers,
serviceCommissionRatio,
reCommissionRatio,
pushToERPName,
prodBeans,
useBeansFlag,
privateFlag,
invisibleServiceProviderIDs,
displayOnCRMFlag,
needServiceFlag,
actPrice0,
actPrice1,
actPrice2,
actPrice3,
actPrice4,
actPrice5,
actPrice6,
actPrice7,
beginTime,
endTime,
actFlag,
actType,
actFullReduceAmount,
actReduceAmount,
actFullGiftAmount,
actBuyGiftNum,
onlineTime,
downlineTime,
shopIndexModuleID,
freePostFlag,
crmBigTypeId,
crmSmallTypeId,
costPrice,
costProportional,
costCheckFlag,
precisehKey,
docBoost,
cmbeanFlag,
cmbeanPrice,
cmbeanSort
) VALUES (
#{id},
#{brandID},
#{bigTypeID},
#{smallTypeID},
#{tinyTypeID},
#{selfTypeID},
#{shopID},
#{name},
#{searchKey},
#{normalPrice},
#{price},
#{highestUserLevelPrice},
#{lowestUserLevelPrice},
#{lowestUserLevelID},
#{price0},
#{price0Text},
#{price0TextFlag},
#{price1},
#{price1Text},
#{price1TextFlag},
#{price8},
#{price8Text},
#{price8TextFlag},
#{ladderPriceFlag},
#{price2},
#{price3},
#{price4},
#{price5},
#{price6},
#{price7},
#{fee},
#{stock},
#{hasSkuFlag},
#{mainImage},
#{propertiesInfo},
#{addTime},
#{updateTime},
#{weekSellNumber},
#{beforeValidFlag},
#{validFlag},
#{favoriteTimes},
#{commentScore},
#{commentTimes},
#{selfRecommendFlag},
#{sysRecommendFlag},
#{sortIndex},
#{featuredFlag},
#{featuredSortIndex},
#{productCode},
#{rate1},
#{rate2},
#{unit},
#{synToERPFlag},
#{allAreaFlag},
#{provinceIDs},
#{serviceNumber},
#{maxBuyNumber},
#{virtualFlag},
#{minBuyNumber},
#{packageCount},
#{byFlag},
#{normalProductFlag},
#{wholeSaleProductFlag},
#{promotionProductFlag},
#{groupBuyProductFlag},
#{step},
#{speCommisionFlag},
#{speCommision},
#{videourl},
#{props},
#{providers},
#{serviceCommissionRatio},
#{reCommissionRatio},
#{pushToERPName},
#{prodBeans},
#{useBeansFlag},
#{privateFlag},
#{invisibleServiceProviderIDs},
#{displayOnCRMFlag},
#{needServiceFlag},
#{actPrice0},
#{actPrice1},
#{actPrice2},
#{actPrice3},
#{actPrice4},
#{actPrice5},
#{actPrice6},
#{actPrice7},
#{beginTime},
#{endTime},
#{actFlag},
#{actType},
#{actFullReduceAmount},
#{actReduceAmount},
#{actFullGiftAmount},
#{actBuyGiftNum},
#{onlineTime},
#{downlineTime},
#{shopIndexModuleID},
#{freePostFlag},
#{crmBigTypeId},
#{crmSmallTypeId},
#{costPrice},
#{costProportional},
#{costCheckFlag},
#{precisehKey},
#{docBoost},
#{cmbeanFlag},
#{cmbeanPrice},
#{cmbeanSort}
)
UPDATE product SET
productID = #{id},
brandID = #{brandID},
tinyTypeID = #{tinyTypeID},
selfTypeID = #{selfTypeID},
shopID = #{shopID},
name = #{name},
searchKey = #{searchKey},
normalPrice = #{normalPrice},
price = #{price},
highestUserLevelPrice = #{highestUserLevelPrice},
lowestUserLevelPrice = #{lowestUserLevelPrice},
lowestUserLevelID = #{lowestUserLevelID},
price0 = #{price0},
price0Text = #{price0Text},
price0TextFlag = #{price0TextFlag},
price1 = #{price1},
price1Text = #{price1Text},
price1TextFlag = #{price1TextFlag},
price8 = #{price8},
price8Text = #{price8Text},
price8TextFlag = #{price8TextFlag},
ladderPriceFlag = #{ladderPriceFlag},
price2 = #{price2},
price3 = #{price3},
price4 = #{price4},
price5 = #{price5},
price6 = #{price6},
price7 = #{price7},
fee = #{fee},
stock = #{stock},
hasSkuFlag = #{hasSkuFlag},
mainImage = #{mainImage},
propertiesInfo = #{propertiesInfo},
addTime = #{addTime},
updateTime = #{updateTime},
sellNumber = #{sellNumber},
weekSellNumber = #{weekSellNumber},
beforeValidFlag = #{beforeValidFlag},
validFlag = #{validFlag},
favoriteTimes = #{favoriteTimes},
commentScore = #{commentScore},
commentTimes = #{commentTimes},
selfRecommendFlag = #{selfRecommendFlag},
sysRecommendFlag = #{sysRecommendFlag},
sortIndex = #{sortIndex},
featuredFlag = #{featuredFlag},
featuredSortIndex = #{featuredSortIndex},
productCode = #{productCode},
rate1 = #{rate1},
rate2 = #{rate2},
unit = #{unit},
synToERPFlag = #{synToERPFlag},
allAreaFlag = #{allAreaFlag},
provinceIDs = #{provinceIDs},
serviceNumber = #{serviceNumber},
maxBuyNumber = #{maxBuyNumber},
virtualFlag = #{virtualFlag},
minBuyNumber = #{minBuyNumber},
packageCount = #{packageCount},
byFlag = #{byFlag},
normalProductFlag = #{normalProductFlag},
wholeSaleProductFlag = #{wholeSaleProductFlag},
promotionProductFlag = #{promotionProductFlag},
groupBuyProductFlag = #{groupBuyProductFlag},
step = #{step},
speCommisionFlag = #{speCommisionFlag},
speCommision = #{speCommision},
videourl = #{videourl},
props = #{props},
providers = #{providers},
serviceCommissionRatio = #{serviceCommissionRatio},
reCommissionRatio = #{reCommissionRatio},
pushToERPName = #{pushToERPName},
prodBeans = #{prodBeans},
useBeansFlag = #{useBeansFlag},
privateFlag = #{privateFlag},
invisibleServiceProviderIDs = #{invisibleServiceProviderIDs},
displayOnCRMFlag = #{displayOnCRMFlag},
needServiceFlag = #{needServiceFlag},
actPrice0 = #{actPrice0},
actPrice1 = #{actPrice1},
actPrice2 = #{actPrice2},
actPrice3 = #{actPrice3},
actPrice4 = #{actPrice4},
actPrice5 = #{actPrice5},
actPrice6 = #{actPrice6},
actPrice7 = #{actPrice7},
beginTime = #{beginTime},
endTime = #{endTime},
actFlag = #{actFlag},
actType = #{actType},
actFullReduceAmount = #{actFullReduceAmount},
actReduceAmount = #{actReduceAmount},
actFullGiftAmount = #{actFullGiftAmount},
actBuyGiftNum = #{actBuyGiftNum},
onlineTime = #{onlineTime},
downlineTime = #{downlineTime},
shopIndexModuleID = #{shopIndexModuleID},
freePostFlag = #{freePostFlag},
crmBigTypeId = #{crmBigTypeId},
crmSmallTypeId = #{crmSmallTypeId},
costPrice = #{costPrice},
costProportional = #{costProportional},
costCheckFlag = #{costCheckFlag},
precisehKey = #{precisehKey},
docBoost = #{docBoost},
cmbeanFlag = #{cmbeanFlag},
cmbeanPrice = #{cmbeanPrice},
cmbeanSort = #{cmbeanSort},
actSort = #{actSort},
actCreateTime = #{actCreateTime}
WHERE productID = #{id}
UPDATE product
actFlag = #{actFlag},
actType = #{actType},
actSort = #{actSort},
actCreateTime = #{actCreateTime},
WHERE productID = #{productID}
UPDATE product SET preferredFlag = #{preferredFlag}
WHERE productID = #{productID}
DELETE FROM product
WHERE id = #{id}
UPDATE cm_search_recommend_product
SET delFlag = #{DateTime}
WHERE id = #{id}
update gift_product
fullGiftProductId = #{fullGiftProductId},
giftProductId = #{giftProductId},
productName = #{productName},
actType = #{actType},
giftProductNum = #{giftProductNum},
createBy = #{createBy.id},
createDate = #{createDate},
updateBy = #{updateBy.id},
updateDate = #{updateDate},
delFlag = #{delFlag},
where id = #{id}
INSERT INTO gift_product(
fullGiftProductId,
giftProductId,
productName,
actType,
giftProductNum,
createBy,
createDate,
updateBy,
updateDate,
delFlag
) VALUES (
#{fullGiftProductId},
#{giftProductId},
#{productName},
#{actType},
#{giftProductNum},
#{createBy.id},
#{createDate},
#{updateBy.id},
#{updateDate},
#{delFlag}
)
INSERT INTO productpricerecord(
`productID`,
`shopID`,
`highestUserLevelPrice`,
`lowestUserLevelPrice`,
`lowestUserLevelID`,
`price0`,
`price1`,
`updateTime`
)
VALUES
(
#{productID},
#{shopID},
#{highestUserLevelPrice},
#{lowestUserLevelPrice},
#{lowestUserLevelID},
#{price0},
#{price1},
#{updateTime}
)
UPDATE product a SET a.displayOnCRMFlag = #{param1}
WHERE a.productID IN
#{id}
UPDATE product a SET a.actFlag = 0
WHERE a.productID = #{id}
UPDATE product a SET a.freePostFlag = #{param1}
WHERE a.productID IN
#{id}
delete from product_custom_classification
where productID = #{productID}
INSERT INTO product_custom_classification(
productID,
bigTypeID,
smallTypeID,
tinyTypeID,
createDate,
updateDate
) VALUES (
#{productID},
#{bigTypeID},
#{smallTypeID},
#{tinyTypeID},
#{createDate},
#{updateDate}
)
INSERT INTO cm_search_recommend_product(
productID,
tinyTypeID,
sort,
delFlag
) VALUES (
#{productID},
#{tinyTypeID},
0,
0
)
insert into product_ladder_price (productId, userType, ladderNum,
buyNum, buyPrice, createBy, createDate, delFlag)
values (#{productId}, 3, #{ladderNum},
#{buyNum}, #{buyPrice}, #{createBy},
#{createDate},'0')
INSERT INTO `product` (
`brandID`,
`tinyTypeID`,
`classifyId`,
`productCategory`,
`preferredFlag`,
`selfTypeID`,
`shopID`,
`name`,
`aliasName`,
`searchKey`,
`productRemarks`,
`normalPrice`,
`price`,
`highestUserLevelPrice`,
`lowestUserLevelPrice`,
`lowestUserLevelID`,
`price0`,
`price0Grade`,
`price0Text`,
`price0TextFlag`,
`price1`,
`price1Grade`,
`price1Text`,
`price1TextFlag`,
`price8`,
`price8Grade`,
`price8Text`,
`price8TextFlag`,
`ladderPriceFlag`,
`price2`,
`price3`,
`price4`,
`price5`,
`price6`,
`price7`,
`fee`,
`stock`,
`hasSkuFlag`,
`mainImage`,
`propertiesInfo`,
`addTime`,
`updateTime`,
`classifyAddTime`,
`weekSellNumber`,
`beforeValidFlag`,
`validFlag`,
`favoriteTimes`,
`commentScore`,
`commentTimes`,
`selfRecommendFlag`,
`sysRecommendFlag`,
`sortIndex`,
`featuredFlag`,
`featuredSortIndex`,
`productCode`,
`rate1`,
`rate2`,
`unit`,
`synToERPFlag`,
`allAreaFlag`,
`provinceIDs`,
`serviceNumber`,
`maxBuyNumber`,
`virtualFlag`,
`minBuyNumber`,
`packageCount`,
`byFlag`,
`normalProductFlag`,
`wholeSaleProductFlag`,
`promotionProductFlag`,
`groupBuyProductFlag`,
`step`,
`speCommisionFlag`,
`speCommision`,
`videourl`,
`props`,
`providers`,
`serviceCommissionRatio`,
`reCommissionRatio`,
`pushToERPName`,
`prodBeans`,
`useBeansFlag`,
`privateFlag`,
`invisibleServiceProviderIDs`,
`displayOnCRMFlag`,
`needServiceFlag`,
`actFlag`,
`actStatus`,
`actSort`,
`actPrice0`,
`actPrice1`,
`actPrice2`,
`actPrice3`,
`actPrice4`,
`actPrice5`,
`actPrice6`,
`actPrice7`,
`actType`,
`actCreateTime`,
`actFullReduceAmount`,
`actReduceAmount`,
`visibility`,
`actFullGiftAmount`,
`actBuyGiftNum`,
`beginTime`,
`endTime`,
`shopIndexModuleID`,
`onlineTime`,
`downlineTime`,
`freePostFlag`,
`crmBigTypeId`,
`crmSmallTypeId`,
`costPrice`,
`costProportional`,
`costCheckFlag`,
`precisehKey`,
`docBoost`,
`cmbeanFlag`,
`cmbeanPrice`,
`cmbeanSort`,
`tags`,
`surplusTime`,
`productType`,
`machineType`,
`qualificationImg`,
`includedTax`,
`taxPoint`,
`invoiceType`,
`recommendType`,
`priceType`,
`combinationID`,
`combinationSort`
)
VALUES
(
#{brandID},
#{tinyTypeID},
#{classifyId},
#{productCategory},
#{preferredFlag},
#{selfTypeID},
#{shopID},
#{name},
#{aliasName},
#{searchKey},
#{productRemarks},
#{normalPrice},
#{price},
#{highestUserLevelPrice},
#{lowestUserLevelPrice},
#{lowestUserLevelID},
#{price0},
#{price0Grade},
#{price0Text},
#{price0TextFlag},
#{price1},
#{price1Grade},
#{price1Text},
#{price1TextFlag},
#{price8},
#{price8Grade},
#{price8Text},
#{price8TextFlag},
#{ladderPriceFlag},
#{price2},
#{price3},
#{price4},
#{price5},
#{price6},
#{price7},
#{fee},
#{stock},
#{hasSkuFlag},
#{mainImage},
#{propertiesInfo},
#{addTime},
#{updateTime},
#{classifyAddTime},
#{weekSellNumber},
#{beforeValidFlag},
#{validFlag},
#{favoriteTimes},
#{commentScore},
#{commentTimes},
#{selfRecommendFlag},
#{sysRecommendFlag},
#{sortIndex},
#{featuredFlag},
#{featuredSortIndex},
#{productCode},
#{rate1},
#{rate2},
#{unit},
#{synToERPFlag},
#{allAreaFlag},
#{provinceIDs},
#{serviceNumber},
#{maxBuyNumber},
#{virtualFlag},
#{minBuyNumber},
#{packageCount},
#{byFlag},
#{normalProductFlag},
#{wholeSaleProductFlag},
#{promotionProductFlag},
#{groupBuyProductFlag},
#{step},
#{speCommisionFlag},
#{speCommision},
#{videourl},
#{props},
#{providers},
#{serviceCommissionRatio},
#{reCommissionRatio},
#{pushToERPName},
#{prodBeans},
#{useBeansFlag},
#{privateFlag},
#{invisibleServiceProviderIDs},
#{displayOnCRMFlag},
#{needServiceFlag},
#{actFlag},
#{actStatus},
#{actSort},
#{actPrice0},
#{actPrice1},
#{actPrice2},
#{actPrice3},
#{actPrice4},
#{actPrice5},
#{actPrice6},
#{actPrice7},
#{actType},
#{actCreateTime},
#{actFullReduceAmount},
#{actReduceAmount},
#{visibility},
#{actFullGiftAmount},
#{actBuyGiftNum},
#{beginTime},
#{endTime},
#{shopIndexModuleID},
#{onlineTime},
#{downlineTime},
#{freePostFlag},
#{crmBigTypeId},
#{crmSmallTypeId},
#{costPrice},
#{costProportional},
#{costCheckFlag},
#{precisehKey},
#{docBoost},
#{cmbeanFlag},
#{cmbeanPrice},
#{cmbeanSort},
#{tags},
#{surplusTime},
#{productType},
#{machineType},
#{qualificationImg},
#{includedTax},
#{taxPoint},
#{invoiceType},
#{recommendType},
#{priceType},
#{combinationID},
#{combinationSort}
)
insert into productdetailinfo
`productID`,
`detailInfo`,
`serviceInfo`,
`orderInfo`,
#{productID},
#{detailInfo},
#{serviceInfo},
#{orderInfo},
delete from product_custom_classification
where productID = #{productID} and tinyTypeID = #{tinyTypeID}
DELETE FROM product_ladder_price where productId = #{productID}
DELETE FROM product_ladder_price where id = #{id}
UPDATE product SET
recommendType = #{recommendType}
WHERE productID = #{productID}
UPDATE product_new
set brandID = #{brandID}
WHERE productID = #{productID}
UPDATE product
set brandID = null
WHERE brandID = #{brandId}
UPDATE product_new
set tinyTypeID = #{tinyTypeID}
WHERE productID = #{productID}
update product
brandID = #{brandID},
bigTypeID = #{bigTypeID},
smallTypeID = #{smallTypeID},
tinyTypeID = #{tinyTypeID},
preferredFlag = #{preferredFlag},
selfTypeID = #{selfTypeID},
shopID = #{shopID},
`name` = #{name},
aliasName = #{aliasName},
searchKey = #{searchKey},
productRemarks = #{productRemarks},
combinationID = #{combinationID},
normalPrice = #{normalPrice},
price = #{price},
highestUserLevelPrice = #{highestUserLevelPrice},
lowestUserLevelPrice = #{lowestUserLevelPrice},
lowestUserLevelID = #{lowestUserLevelID},
price0 = #{price0},
price0Grade = #{price0Grade},
price0Text = #{price0Text},
price0TextFlag = #{price0TextFlag},
price1 = #{price1},
price1Grade = #{price1Grade},
price1Text = #{price1Text},
price1TextFlag = #{price1TextFlag},
price8 = #{price8},
price8Grade = #{price8Grade},
price8Text = #{price8Text},
price8TextFlag = #{price8TextFlag},
ladderPriceFlag = #{ladderPriceFlag},
price2 = #{price2},
price3 = #{price3},
price4 = #{price4},
price5 = #{price5},
price6 = #{price6},
price7 = #{price7},
fee = #{fee},
stock = #{stock},
hasSkuFlag = #{hasSkuFlag},
mainImage = #{mainImage},
propertiesInfo = #{propertiesInfo},
addTime = #{addTime},
updateTime = #{updateTime},
weekSellNumber = #{weekSellNumber},
beforeValidFlag = #{beforeValidFlag},
validFlag = #{validFlag},
favoriteTimes = #{favoriteTimes},
commentScore = #{commentScore},
commentTimes = #{commentTimes},
selfRecommendFlag = #{selfRecommendFlag},
sysRecommendFlag = #{sysRecommendFlag},
sortIndex = #{sortIndex},
featuredFlag = #{featuredFlag},
featuredSortIndex = #{featuredSortIndex},
productCode = #{productCode},
rate1 = #{rate1},
rate2 = #{rate2},
unit = #{unit},
synToERPFlag = #{synToERPFlag},
allAreaFlag = #{allAreaFlag},
provinceIDs = #{provinceIDs},
serviceNumber = #{serviceNumber},
maxBuyNumber = #{maxBuyNumber},
virtualFlag = #{virtualFlag},
minBuyNumber = #{minBuyNumber},
packageCount = #{packageCount},
byFlag = #{byFlag},
normalProductFlag = #{normalProductFlag},
wholeSaleProductFlag = #{wholeSaleProductFlag},
promotionProductFlag = #{promotionProductFlag},
groupBuyProductFlag = #{groupBuyProductFlag},
step = #{step},
speCommisionFlag = #{speCommisionFlag},
speCommision = #{speCommision},
videourl = #{videourl},
props = #{props},
providers = #{providers},
serviceCommissionRatio = #{serviceCommissionRatio},
reCommissionRatio = #{reCommissionRatio},
pushToERPName = #{pushToERPName},
prodBeans = #{prodBeans},
useBeansFlag = #{useBeansFlag},
privateFlag = #{privateFlag},
invisibleServiceProviderIDs = #{invisibleServiceProviderIDs},
displayOnCRMFlag = #{displayOnCRMFlag},
needServiceFlag = #{needServiceFlag},
actFlag = #{actFlag},
actSort = #{actSort},
actPrice0 = #{actPrice0},
actPrice1 = #{actPrice1},
actPrice2 = #{actPrice2},
actPrice3 = #{actPrice3},
actPrice4 = #{actPrice4},
actPrice5 = #{actPrice5},
actPrice6 = #{actPrice6},
actPrice7 = #{actPrice7},
actType = #{actType},
actCreateTime = #{actCreateTime},
beginTime = #{beginTime},
endTime = #{endTime},
shopIndexModuleID = #{shopIndexModuleID},
onlineTime = #{onlineTime},
downlineTime = #{downlineTime},
freePostFlag = #{freePostFlag},
crmBigTypeId = #{crmBigTypeId},
crmSmallTypeId = #{crmSmallTypeId},
costPrice = #{costPrice},
costProportional = #{costProportional},
costCheckFlag = #{costCheckFlag},
precisehKey = #{precisehKey},
docBoost = #{docBoost},
cmbeanFlag = #{cmbeanFlag},
cmbeanPrice = #{cmbeanPrice},
cmbeanSort = #{cmbeanSort},
actBuyGiftNum = #{actBuyGiftNum},
actFullGiftAmount = #{actFullGiftAmount},
actFullReduceAmount = #{actFullReduceAmount},
actReduceAmount = #{actReduceAmount},
visibility = #{visibility},
surplusTime = #{surplusTime},
productType = #{productType},
qualificationImg = #{qualificationImg},
qualificationImg = #{qualificationImg},
invoiceType = #{invoiceType},
taxPoint = #{taxPoint},
supplierTaxPoint = #{supplierTaxPoint},
endTimeStr = #{endTimeStr},
priceType = #{priceType},
tags = #{tags},
recommendType = #{recommendType},
machineType = #{machineType},
includedTax = #{includedTax},
invoiceType = #{invoiceType},
commodityType = #{commodityType},
trainingMethod = #{trainingMethod},
trainingType = #{trainingType},
trainingFee = #{trainingFee},
where productID = #{productID}
update productdetailinfo
propValueAlias = #{propValueAlias},
propValueImages = #{propValueImages},
detailInfo = #{detailInfo},
detailInfoTxt = #{detailInfoTxt},
seoTitle = #{seoTitle},
seoKeyword = #{seoKeyword},
seoDes = #{seoDes},
serviceInfo = #{serviceInfo},
orderInfo = #{orderInfo},
where productID = #{productID}
update product_ladder_price
set productId = #{productId},
ladderNum = #{ladderNum},
buyNum = #{buyNum},
buyPrice = #{buyPrice},
updateBy = #{updateBy},
updateDate = #{updateDate},
delFlag = #{delFlag}
where id = #{id}