...
|
...
|
@@ -23,7 +23,7 @@ |
|
|
<insert id="updateProductChain" parameterType="com.yoho.product.model.ProductChain" >
|
|
|
insert into product_chain (tag_id, chain_id, transaction_id, transaction_time)
|
|
|
values (#{tagId,jdbcType=VARCHAR}, #{chainId,jdbcType=BIGINT}, #{transactionId,jdbcType=VARCHAR}, #{transactionTime,jdbcType=INTEGER})
|
|
|
ON DUPLICATE KEY UPDATE transaction_id=#{transactionId, jdbcType=VARCHAR}
|
|
|
ON DUPLICATE KEY UPDATE transaction_time=#{transactionTime, jdbcType=INTEGER}
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.yoho.product.model.ProductChain" >
|
|
|
insert into product_chain
|
...
|
...
|
|