|
@@ -4,7 +4,7 @@
|
|
|
<insert id="insertProduct" keyColumn="productID" keyProperty="productId" parameterType="com.caimei365.commodity.model.po.ProductPo" useGeneratedKeys="true">
|
|
|
insert into product (
|
|
|
shopID, name, aliasName, commodityType, bigTypeID, smallTypeID, tinyTypeID, mainImage,
|
|
|
- brandID, productType, tags, unit, normalPrice, price, price1, includedTax, minBuyNumber, stock,
|
|
|
+ brandID, productType, tags, unit, normalPrice, price, includedTax, minBuyNumber, stock,
|
|
|
<if test="productCategory != null and productCategory != ''">
|
|
|
productCategory,
|
|
|
</if>
|
|
@@ -36,7 +36,7 @@
|
|
|
recommendType,
|
|
|
</if>
|
|
|
<if test="priceFlag != null and priceFlag != ''">
|
|
|
- price1TextFlag,
|
|
|
+ priceFlag,
|
|
|
</if>
|
|
|
<if test="actFlag != null and actFlag != ''">
|
|
|
actFlag,
|
|
@@ -77,7 +77,7 @@
|
|
|
updateTime, validFlag
|
|
|
) values (
|
|
|
#{shopId}, #{name}, #{aliasName}, #{commodityType}, #{bigTypeId}, #{smallTypeId}, #{tinyTypeId}, #{mainImage},
|
|
|
- #{brandId}, #{productType}, #{tags}, #{unit}, #{normalPrice}, #{price}, #{price}, #{includedTax}, #{minBuyNumber}, #{stock},
|
|
|
+ #{brandId}, #{productType}, #{tags}, #{unit}, #{normalPrice}, #{price}, #{includedTax}, #{minBuyNumber}, #{stock},
|
|
|
<if test="productCategory != null and productCategory != ''">
|
|
|
#{productCategory},
|
|
|
</if>
|
|
@@ -155,7 +155,7 @@
|
|
|
shopID = #{shopId}, name = #{name}, aliasName = #{aliasName}, commodityType = #{commodityType},
|
|
|
bigTypeId = #{bigTypeId}, smallTypeId = #{smallTypeId}, tinyTypeId = #{tinyTypeId}, mainImage = #{mainImage},
|
|
|
brandId = #{brandId}, productType = #{productType}, tags = #{tags}, unit = #{unit}, normalPrice = #{normalPrice},
|
|
|
- price = #{price}, price1 = #{price}, includedTax = #{includedTax}, minBuyNumber = #{minBuyNumber}, stock = #{stock},
|
|
|
+ price = #{price}, price = #{price}, includedTax = #{includedTax}, minBuyNumber = #{minBuyNumber}, stock = #{stock},
|
|
|
<if test="productCategory != null and productCategory != ''">
|
|
|
productCategory = #{productCategory},
|
|
|
</if>
|
|
@@ -187,7 +187,7 @@
|
|
|
recommendType = #{recommendType},
|
|
|
</if>
|
|
|
<if test="priceFlag != null and priceFlag != ''">
|
|
|
- price1TextFlag = #{priceFlag},
|
|
|
+ priceFlag = #{priceFlag},
|
|
|
</if>
|
|
|
<if test="actFlag != null and actFlag != ''">
|
|
|
actFlag = #{actFlag},
|