|
@@ -1380,6 +1380,9 @@
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.caimei.modules.product.entity.Product">
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.caimei.modules.product.entity.Product">
|
|
update product
|
|
update product
|
|
<set>
|
|
<set>
|
|
|
|
+ <if test="productDescribe != null and productDescribe != ''">
|
|
|
|
+ productDescribe = #{productDescribe},
|
|
|
|
+ </if>
|
|
<if test="productDetail != null and productDetail != ''">
|
|
<if test="productDetail != null and productDetail != ''">
|
|
productDetail = #{productDetail},
|
|
productDetail = #{productDetail},
|
|
</if>
|
|
</if>
|
|
@@ -1838,4 +1841,7 @@
|
|
<select id="findProductDetail" resultType="java.lang.String">
|
|
<select id="findProductDetail" resultType="java.lang.String">
|
|
select productDetail from product where productID = #{productID}
|
|
select productDetail from product where productID = #{productID}
|
|
</select>
|
|
</select>
|
|
|
|
+ <select id="findProductDescribe" resultType="java.lang.String">
|
|
|
|
+ select productDescribe from product where productID = #{productID}
|
|
|
|
+ </select>
|
|
</mapper>
|
|
</mapper>
|