|
|
|
@ -9,7 +9,7 @@
|
|
|
|
|
<result property="shopId" column="shop_id" jdbcType="BIGINT"/>
|
|
|
|
|
<result property="orderId" column="order_id" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="purchaseOrderSn" column="purchase_order_sn" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="isSupportEncryptOrder" column="is_support_encrypt_order" jdbcType="BOOLEAN"/>
|
|
|
|
|
<result property="isSupportEncryptOrder" column="is_support_encrypt_order" jdbcType="TINYINT"/>
|
|
|
|
|
<result property="isEncryptOrder" column="is_encrypt_order" jdbcType="TINYINT"/>
|
|
|
|
|
<result property="result" column="result" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="reason" column="reason" jdbcType="VARCHAR"/>
|
|
|
|
@ -42,7 +42,7 @@
|
|
|
|
|
,result,reason,gmt_create
|
|
|
|
|
,gmt_modified)
|
|
|
|
|
values (#{purchaseOrderDsEncryptId,jdbcType=BIGINT},#{shopId,jdbcType=BIGINT},#{orderId,jdbcType=VARCHAR}
|
|
|
|
|
,#{purchaseOrderSn,jdbcType=VARCHAR},#{isSupportEncryptOrder,jdbcType=BOOLEAN},#{isEncryptOrder,jdbcType=TINYINT}
|
|
|
|
|
,#{purchaseOrderSn,jdbcType=VARCHAR},#{isSupportEncryptOrder,jdbcType=TINYINT},#{isEncryptOrder,jdbcType=TINYINT}
|
|
|
|
|
,#{result,jdbcType=VARCHAR},#{reason,jdbcType=VARCHAR},#{gmtCreate,jdbcType=TIMESTAMP}
|
|
|
|
|
,#{gmtModified,jdbcType=TIMESTAMP})
|
|
|
|
|
</insert>
|
|
|
|
@ -54,11 +54,11 @@
|
|
|
|
|
,result,reason,gmt_create
|
|
|
|
|
,gmt_modified)
|
|
|
|
|
values (#{purchaseOrderDsEncryptId,jdbcType=BIGINT},#{shopId,jdbcType=BIGINT},#{orderId,jdbcType=VARCHAR}
|
|
|
|
|
,#{purchaseOrderSn,jdbcType=VARCHAR},#{isSupportEncryptOrder,jdbcType=BOOLEAN},#{isEncryptOrder,jdbcType=TINYINT}
|
|
|
|
|
,#{purchaseOrderSn,jdbcType=VARCHAR},#{isSupportEncryptOrder,jdbcType=TINYINT},#{isEncryptOrder,jdbcType=TINYINT}
|
|
|
|
|
,#{result,jdbcType=VARCHAR},#{reason,jdbcType=VARCHAR},#{gmtCreate,jdbcType=TIMESTAMP}
|
|
|
|
|
,#{gmtModified,jdbcType=TIMESTAMP})
|
|
|
|
|
ON DUPLICATE KEY UPDATE
|
|
|
|
|
shop_id = #{shopId,jdbcType=BIGINT}, order_id = #{orderId,jdbcType=VARCHAR}, purchase_order_sn = #{purchaseOrderSn,jdbcType=VARCHAR}, is_support_encrypt_order = #{isSupportEncryptOrder,jdbcType=BOOLEAN}, is_encrypt_order = #{isEncryptOrder,jdbcType=TINYINT}, result = #{result,jdbcType=VARCHAR}, reason = #{reason,jdbcType=VARCHAR}, gmt_create = #{gmtCreate,jdbcType=TIMESTAMP}, gmt_modified = #{gmtModified,jdbcType=TIMESTAMP}
|
|
|
|
|
shop_id = #{shopId,jdbcType=BIGINT}, order_id = #{orderId,jdbcType=VARCHAR}, purchase_order_sn = #{purchaseOrderSn,jdbcType=VARCHAR}, is_support_encrypt_order = #{isSupportEncryptOrder,jdbcType=TINYINT}, is_encrypt_order = #{isEncryptOrder,jdbcType=TINYINT}, result = #{result,jdbcType=VARCHAR}, reason = #{reason,jdbcType=VARCHAR}, gmt_create = #{gmtCreate,jdbcType=TIMESTAMP}, gmt_modified = #{gmtModified,jdbcType=TIMESTAMP}
|
|
|
|
|
</update>
|
|
|
|
|
<insert id="insertSelective" keyColumn="purchase_order_ds_encrypt_id" keyProperty="purchaseOrderDsEncryptId" parameterType="com.ms.dal.entity.PurchaseOrderDsEncrypt" useGeneratedKeys="true">
|
|
|
|
|
insert into purchase_order_ds_encrypt
|
|
|
|
@ -79,7 +79,7 @@
|
|
|
|
|
<if test="shopId != null">#{shopId,jdbcType=BIGINT},</if>
|
|
|
|
|
<if test="orderId != null">#{orderId,jdbcType=VARCHAR},</if>
|
|
|
|
|
<if test="purchaseOrderSn != null">#{purchaseOrderSn,jdbcType=VARCHAR},</if>
|
|
|
|
|
<if test="isSupportEncryptOrder != null">#{isSupportEncryptOrder,jdbcType=BOOLEAN},</if>
|
|
|
|
|
<if test="isSupportEncryptOrder != null">#{isSupportEncryptOrder,jdbcType=TINYINT},</if>
|
|
|
|
|
<if test="isEncryptOrder != null">#{isEncryptOrder,jdbcType=TINYINT},</if>
|
|
|
|
|
<if test="result != null">#{result,jdbcType=VARCHAR},</if>
|
|
|
|
|
<if test="reason != null">#{reason,jdbcType=VARCHAR},</if>
|
|
|
|
@ -100,7 +100,7 @@
|
|
|
|
|
purchase_order_sn = #{purchaseOrderSn,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="isSupportEncryptOrder != null">
|
|
|
|
|
is_support_encrypt_order = #{isSupportEncryptOrder,jdbcType=BOOLEAN},
|
|
|
|
|
is_support_encrypt_order = #{isSupportEncryptOrder,jdbcType=TINYINT},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="isEncryptOrder != null">
|
|
|
|
|
is_encrypt_order = #{isEncryptOrder,jdbcType=TINYINT},
|
|
|
|
@ -126,7 +126,7 @@
|
|
|
|
|
shop_id = #{shopId,jdbcType=BIGINT},
|
|
|
|
|
order_id = #{orderId,jdbcType=VARCHAR},
|
|
|
|
|
purchase_order_sn = #{purchaseOrderSn,jdbcType=VARCHAR},
|
|
|
|
|
is_support_encrypt_order = #{isSupportEncryptOrder,jdbcType=BOOLEAN},
|
|
|
|
|
is_support_encrypt_order = #{isSupportEncryptOrder,jdbcType=TINYINT},
|
|
|
|
|
is_encrypt_order = #{isEncryptOrder,jdbcType=TINYINT},
|
|
|
|
|
result = #{result,jdbcType=VARCHAR},
|
|
|
|
|
reason = #{reason,jdbcType=VARCHAR},
|
|
|
|
|