|
@@ -120,7 +120,7 @@
|
|
|
invoice_no, third_trade_no, product_id,
|
|
|
is_vpp
|
|
|
)
|
|
|
- values (#{id}::uuid, #{appId,jdbcType=INTEGER}, #{subscriptionId,jdbcType=OTHER},
|
|
|
+ values (#{id}::uuid, #{appId,jdbcType=INTEGER}, #{subscriptionId}::uuid,
|
|
|
#{tradeNo,jdbcType=VARCHAR}, #{thirdOrderNo,jdbcType=VARCHAR}, #{price,jdbcType=DOUBLE},
|
|
|
#{payment,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{result,jdbcType=VARCHAR},
|
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{pagePayUrl,jdbcType=VARCHAR},
|
|
@@ -188,7 +188,7 @@
|
|
|
#{appId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="subscriptionId != null">
|
|
|
- #{subscriptionId,jdbcType=OTHER},
|
|
|
+ #{subscriptionId}::uuid,
|
|
|
</if>
|
|
|
<if test="tradeNo != null">
|
|
|
#{tradeNo,jdbcType=VARCHAR},
|
|
@@ -250,7 +250,7 @@
|
|
|
app_id = #{row.appId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="row.subscriptionId != null">
|
|
|
- subscription_id = #{row.subscriptionId,jdbcType=OTHER},
|
|
|
+ subscription_id = #{row.subscriptionId}::uuid,
|
|
|
</if>
|
|
|
<if test="row.tradeNo != null">
|
|
|
trade_no = #{row.tradeNo,jdbcType=VARCHAR},
|
|
@@ -300,7 +300,7 @@
|
|
|
update orders
|
|
|
set id = #{row.id}::uuid,
|
|
|
app_id = #{row.appId,jdbcType=INTEGER},
|
|
|
- subscription_id = #{row.subscriptionId,jdbcType=OTHER},
|
|
|
+ subscription_id = #{row.subscriptionId}::uuid,
|
|
|
trade_no = #{row.tradeNo,jdbcType=VARCHAR},
|
|
|
third_order_no = #{row.thirdOrderNo,jdbcType=VARCHAR},
|
|
|
price = #{row.price,jdbcType=DOUBLE},
|
|
@@ -325,7 +325,7 @@
|
|
|
app_id = #{appId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="subscriptionId != null">
|
|
|
- subscription_id = #{subscriptionId,jdbcType=OTHER},
|
|
|
+ subscription_id = #{subscriptionId}::uuid,
|
|
|
</if>
|
|
|
<if test="tradeNo != null">
|
|
|
trade_no = #{tradeNo,jdbcType=VARCHAR},
|
|
@@ -372,7 +372,7 @@
|
|
|
<update id="updateByPrimaryKey" parameterType="cn.kdan.pdf.tech.core.model.Orders">
|
|
|
update orders
|
|
|
set app_id = #{appId,jdbcType=INTEGER},
|
|
|
- subscription_id = #{subscriptionId,jdbcType=OTHER},
|
|
|
+ subscription_id = #{subscriptionId}::uuid,
|
|
|
trade_no = #{tradeNo,jdbcType=VARCHAR},
|
|
|
third_order_no = #{thirdOrderNo,jdbcType=VARCHAR},
|
|
|
price = #{price,jdbcType=DOUBLE},
|