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