diff --git a/mallinkService/src/main/resources/mapper/AliBusinessCircleMapper.xml b/mallinkService/src/main/resources/mapper/AliBusinessCircleMapper.xml
deleted file mode 100644
index f1949b259..000000000
--- a/mallinkService/src/main/resources/mapper/AliBusinessCircleMapper.xml
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- `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`, `create_time`, `update_time`,
- `merchant_id`, `c_user_id`, `earn_points`, `increased_points`, `points_update_time`,
- `is_refund`, `refund_id`, `refund_amount`
-
-
-
- where 1 = 1
-
-
- and `id` = #{id}
-
-
-
- and `tenant_id` = #{tenantId}
-
-
- and `parent_tenant_id` = #{parentTenantId}
-
-
-
- and `source_app_id` = #{sourceAppId}
-
-
-
- and `source_type` = #{sourceType}
-
-
-
- and `shop_name` like concat('%', #{shopName},'%')
-
-
-
- and `shop_number` = #{shopNumber}
-
-
-
- and `user_phone` = #{userPhone}
-
-
-
- and `user_number` = #{userNumber}
-
-
-
- and `notice_id` = #{noticeId}
-
-
-
- and `time_end` >= #{startTime}
-
-
- and `time_end` < #{endTime}
-
-
-
- and `transaction_id` = #{transactionId}
-
-
-
- and `merchant_id` = #{merchantId}
-
-
-
- and `c_user_id` = #{cUserId}
-
-
-
- and `earn_points` = #{earnPoints}
-
-
-
- and `is_refund` = #{isRefund}
-
-
-
- and `refund_id` = #{refundId}
-
-
-
- and `id` in
-
- #{idItem}
-
-
- order by ${sortColumns}
-
-
-
-
-
-
-
-
-
-
-
- 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`,
- `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},
- #{merchantId},#{cUserId},0,0
- );
-
-
-
- update wx_third_party_orders set
- `earn_points` = 1, `increased_points` = #{increasedPoints}, `points_update_time` = #{pointsUpdateTime},
- `is_refund_points` = 0, `update_time` = #{updateTime}
- where `id` = #{id} and `tenant_id` = #{tenantId}
-
-
-
- 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`,
- `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},
- #{merchantId},#{cUserId},0,1,#{refundId},#{refundAmount}
- );
-
-
-
diff --git a/mallinkService/src/main/resources/mapper/AliBusinessCircleOrder.xml b/mallinkService/src/main/resources/mapper/AliBusinessCircleOrderMapper.xml
similarity index 100%
rename from mallinkService/src/main/resources/mapper/AliBusinessCircleOrder.xml
rename to mallinkService/src/main/resources/mapper/AliBusinessCircleOrderMapper.xml
diff --git a/mallinkService/src/main/resources/mapper/WxThirdPartyOrdersMapper.xml b/mallinkService/src/main/resources/mapper/WxThirdPartyOrdersMapper.xml
index 3a5fd9119..d71df67d3 100644
--- a/mallinkService/src/main/resources/mapper/WxThirdPartyOrdersMapper.xml
+++ b/mallinkService/src/main/resources/mapper/WxThirdPartyOrdersMapper.xml
@@ -189,4 +189,17 @@
where `id` = #{id} and `tenant_id` = #{tenantId}
+
+ 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`,
+ `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},
+ #{merchantId},#{cUserId},0,1,#{refundId},#{refundAmount}
+ );
+
+