|
@@ -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,
|
|
@@ -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},
|