From 0180eb9b18bf46a638422dbc211c9fd1745407b6 Mon Sep 17 00:00:00 2001 From: xiaohu <1901900812@qq.com> Date: Wed, 14 Aug 2024 13:42:36 +0800 Subject: [PATCH] //insertList --- .../resources/mapper/WxOfflineActivityGrantItemMapper.xml | 4 ++-- .../mapper/WxOfflineActivityGrantSettlementMapper.xml | 4 ++-- .../resources/mapper/WxOfflineActivityRecordGrantMapper.xml | 6 ++---- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxOfflineActivityGrantItemMapper.xml b/mallinkService/src/main/resources/mapper/WxOfflineActivityGrantItemMapper.xml index c8bf083d2..e1d55ecc4 100644 --- a/mallinkService/src/main/resources/mapper/WxOfflineActivityGrantItemMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxOfflineActivityGrantItemMapper.xml @@ -85,7 +85,7 @@ insert into wx_offline_activity_grant_item - (id,tenant_id,parent_tenant_id, + (id, grant_id,activity_id,activity_name, activity_item_id,activity_item_name,activity_item_type, award_itam_id,award_name,award_grade, @@ -95,7 +95,7 @@ create_date,update_date) values - (#{item.id,jdbcType=BIGINT},#{item.tenantId,jdbcType=VARCHAR},#{item.parentTenantId,jdbcType=VARCHAR}, + (#{item.id,jdbcType=BIGINT}, #{item.grantId,jdbcType=BIGINT},#{item.activityId,jdbcType=BIGINT},#{item.activityName,jdbcType=VARCHAR}, #{item.activityItemId,jdbcType=BIGINT},#{item.activityItemName,jdbcType=VARCHAR},#{item.activityItemType,jdbcType=INTEGER}, #{item.awardItamId,jdbcType=BIGINT},#{item.awardName,jdbcType=VARCHAR},#{item.awardGrade,jdbcType=INTEGER}, diff --git a/mallinkService/src/main/resources/mapper/WxOfflineActivityGrantSettlementMapper.xml b/mallinkService/src/main/resources/mapper/WxOfflineActivityGrantSettlementMapper.xml index 5ad579722..ca0775a34 100644 --- a/mallinkService/src/main/resources/mapper/WxOfflineActivityGrantSettlementMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxOfflineActivityGrantSettlementMapper.xml @@ -103,7 +103,7 @@ insert into wx_offline_activity_grant_settlement - (id,tenant_id,parent_tenant_id, + (id, record_id,order_no,order_money, merchant_id,activity_id,activity_item_id, award_itam_id,grant_id,grant_price, @@ -112,7 +112,7 @@ create_date,update_date) values - (#{item.id,jdbcType=BIGINT},#{item.tenantId,jdbcType=VARCHAR},#{item.parentTenantId,jdbcType=VARCHAR}, + (#{item.id,jdbcType=BIGINT}, #{item.recordId,jdbcType=BIGINT},#{item.orderNo,jdbcType=VARCHAR},#{item.orderMoney,jdbcType=DECIMAL}, #{item.merchantId,jdbcType=BIGINT},#{item.activityId,jdbcType=BIGINT},#{item.activityItemId,jdbcType=BIGINT}, #{item.awardItamId,jdbcType=BIGINT},#{item.grantId,jdbcType=BIGINT},#{item.grantPrice,jdbcType=DECIMAL}, diff --git a/mallinkService/src/main/resources/mapper/WxOfflineActivityRecordGrantMapper.xml b/mallinkService/src/main/resources/mapper/WxOfflineActivityRecordGrantMapper.xml index 48de481a1..20a3c9a5c 100644 --- a/mallinkService/src/main/resources/mapper/WxOfflineActivityRecordGrantMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxOfflineActivityRecordGrantMapper.xml @@ -24,12 +24,10 @@ insert into wx_offline_activity_record_grant - (`tenant_id`,`parent_tenant_id`,`activity_id`,`record_id`,`grant_id`) + (`activity_id`,`record_id`,`grant_id`) values - (#{item.tenantId,jdbcType=VARCHAR}, - #{item.parentTenantId,jdbcType=VARCHAR}, - #{item.activityId,jdbcType=BIGINT}, + (#{item.activityId,jdbcType=BIGINT}, #{item.recordId,jdbcType=BIGINT}, #{item.grantId,jdbcType=BIGINT})