|
|
|
@@ -172,12 +172,12 @@ |
|
|
|
<insert id="insertNoticeOrder" parameterType="com.iformall.domain.po.WxThirdPartyOrders" > |
|
|
|
INSERT INTO wx_third_party_orders ( |
|
|
|
`id`, `tenant_id`, `parent_tenant_id`,`source_app_id`, `source_type`, `notice_id`, `notice_create_time`, `notice_event_type`, |
|
|
|
`notice_resource_type`, `summary`, `shop_name`, `shop_number`, `user_phone`, `user_number`,`time_end`, `amount`, `pay_amount`, `transaction_id`, `commit_tag`, `create_time`, `update_time`, |
|
|
|
`notice_resource_type`, `summary`, `shop_name`, `shop_number`, `user_phone`, `user_number`,`time_end`, `amount`, `pay_amount`, `transaction_id`, `create_time`, `update_time`, |
|
|
|
`merchant_id`, `c_user_id`, `earn_points`, `is_refund` |
|
|
|
) |
|
|
|
VALUES( |
|
|
|
#{id},#{tenantId},#{parentTenantId},#{sourceAppId},#{sourceType},#{noticeId},#{noticeCreateTime},#{noticeEventType}, |
|
|
|
#{noticeResourceType},#{summary},#{shopName},#{shopNumber},#{userPhone},#{userNumber},#{timeEnd},#{amount},#{payAmount},#{transactionId},#{commitTag},#{createTime},#{updateTime}, |
|
|
|
#{noticeResourceType},#{summary},#{shopName},#{shopNumber},#{userPhone},#{userNumber},#{timeEnd},#{amount},#{payAmount},#{transactionId},#{createTime},#{updateTime}, |
|
|
|
#{merchantId},#{cUserId},0,0 |
|
|
|
); |
|
|
|
</insert> |
|
|
|
@@ -192,12 +192,12 @@ |
|
|
|
<insert id="insertRefundNoticeOrder" parameterType="com.iformall.domain.po.WxThirdPartyOrders" > |
|
|
|
INSERT INTO wx_third_party_orders ( |
|
|
|
`id`, `tenant_id`, `parent_tenant_id`,`source_app_id`, `source_type`, `notice_id`, `notice_create_time`, `notice_event_type`, |
|
|
|
`notice_resource_type`, `summary`,`shop_name`, `shop_number`, `user_phone`, `user_number`, `time_end`, `amount`,`pay_amount`, `transaction_id`, `commit_tag`, `create_time`, `update_time`, |
|
|
|
`notice_resource_type`, `summary`,`shop_name`, `shop_number`, `user_phone`, `user_number`, `time_end`, `amount`,`pay_amount`, `transaction_id`, `create_time`, `update_time`, |
|
|
|
`merchant_id`, `c_user_id`, `earn_points`, `is_refund`, `refund_id`, `refund_amount` |
|
|
|
) |
|
|
|
VALUES( |
|
|
|
#{id},#{tenantId},#{parentTenantId},#{sourceAppId},#{sourceType},#{noticeId},#{noticeCreateTime},#{noticeEventType}, |
|
|
|
#{noticeResourceType},#{summary},#{shopName},#{shopNumber},#{userPhone},#{userNumber},#{timeEnd},#{amount},#{payAmount},#{transactionId},#{commitTag},#{createTime},#{updateTime}, |
|
|
|
#{noticeResourceType},#{summary},#{shopName},#{shopNumber},#{userPhone},#{userNumber},#{timeEnd},#{amount},#{payAmount},#{transactionId},#{createTime},#{updateTime}, |
|
|
|
#{merchantId},#{cUserId},0,1,#{refundId},#{refundAmount} |
|
|
|
); |
|
|
|
</insert> |
|
|
|
|