Просмотр исходного кода

//insertList

release_toaliyun_real
xiaohu 1 год назад
Родитель
Сommit
0180eb9b18
3 измененных файлов: 6 добавлений и 8 удалений
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxOfflineActivityGrantItemMapper.xml
  2. +2
    -2
      mallinkService/src/main/resources/mapper/WxOfflineActivityGrantSettlementMapper.xml
  3. +2
    -4
      mallinkService/src/main/resources/mapper/WxOfflineActivityRecordGrantMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxOfflineActivityGrantItemMapper.xml Просмотреть файл

@@ -85,7 +85,7 @@

<insert id="insertList" parameterType="java.util.List">
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
<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.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 Просмотреть файл

@@ -103,7 +103,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_price,
@@ -112,7 +112,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.grantPrice,jdbcType=DECIMAL},


+ 2
- 4
mallinkService/src/main/resources/mapper/WxOfflineActivityRecordGrantMapper.xml Просмотреть файл

@@ -24,12 +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,jdbcType=VARCHAR},
#{item.parentTenantId,jdbcType=VARCHAR},
#{item.activityId,jdbcType=BIGINT},
(#{item.activityId,jdbcType=BIGINT},
#{item.recordId,jdbcType=BIGINT},
#{item.grantId,jdbcType=BIGINT})
</foreach>


Загрузка…
Отмена
Сохранить