Browse Source

//。。

release_toaliyun_real
xiaohu 1 year ago
parent
commit
56f01d8169
4 changed files with 8 additions and 8 deletions
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxOfflineActivityGrantCashBackMapper.xml
  2. +2
    -2
      mallinkService/src/main/resources/mapper/WxOfflineActivityGrantItemMapper.xml
  3. +2
    -2
      mallinkService/src/main/resources/mapper/WxOfflineActivityGrantSettlementMapper.xml
  4. +2
    -2
      mallinkService/src/main/resources/mapper/WxOfflineActivityRecordGrantMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxOfflineActivityGrantCashBackMapper.xml View File

@@ -74,7 +74,7 @@

<insert id="insertList" parameterType="java.util.List">
insert into wx_offline_activity_grant_cash_back
(id,tenant_id,parent_tenant_id,
(id,
grant_id,activity_id,activity_name,
activity_item_id,activity_item_name,activity_item_type,
awards_item_rule,
@@ -82,7 +82,7 @@
,max_amount,starting_tax_point,tax_points,cash_back_price,tax_points_amount)
values
<foreach collection="cashBackList" item="item" index="index" separator=",">
(#{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.awardsItemRule,jdbcType=INTEGER},


+ 2
- 2
mallinkService/src/main/resources/mapper/WxOfflineActivityGrantItemMapper.xml View File

@@ -97,7 +97,7 @@

<insert id="insertList" parameterType="java.util.List">
insert into wx_offline_activity_grant_item
(id,tenant_id,parent_tenant_id,
(id,
grant_id,grant_awards_mode,activity_id,activity_name,
activity_item_id,activity_item_name,activity_item_type,
award_itam_id,award_name,award_grade,
@@ -107,7 +107,7 @@
create_date,update_date,record_id)
values
<foreach collection="grantItemList" item="item" index="index" separator=",">
(#{item.id,jdbcType=BIGINT},#{item.tenantId,jdbcType=VARCHAR},#{item.parentTenantId,jdbcType=VARCHAR},
(#{item.id,jdbcType=BIGINT},
#{item.grantId,jdbcType=BIGINT},#{item.grantAwardsMode,jdbcType=INTEGER},#{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},


+ 2
- 2
mallinkService/src/main/resources/mapper/WxOfflineActivityGrantSettlementMapper.xml View File

@@ -115,7 +115,7 @@

<insert id="insertList" parameterType="java.util.List">
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_item_id,grant_awards_mode,grant_price,
@@ -124,7 +124,7 @@
create_date,update_date)
values
<foreach collection="settlementList" item="item" index="index" separator=",">
(#{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.grantItemId,jdbcType=BIGINT},#{item.grantAwardsMode,jdbcType=INTEGER},#{item.grantPrice,jdbcType=DECIMAL},


+ 2
- 2
mallinkService/src/main/resources/mapper/WxOfflineActivityRecordGrantMapper.xml View File

@@ -24,10 +24,10 @@

<insert id="insertList" parameterType="java.util.List">
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
<foreach collection="recordGrantList" item="item" index="index" separator=",">
(#{item.tenantId},#{item.parentTenantId},
(
#{item.activityId,jdbcType=BIGINT},
#{item.recordId,jdbcType=BIGINT},
#{item.grantId,jdbcType=BIGINT})


Loading…
Cancel
Save