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

//CouponMerchant

release_toaliyun_real
xhxu 3 лет назад
Родитель
Сommit
b738f6f543
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/mapper/WxCouponMerchantMapper.java
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponMerchantMapper.xml

+ 1
- 1
mallinkService/src/main/java/com/iformall/mapper/WxCouponMerchantMapper.java Просмотреть файл

@@ -28,5 +28,5 @@ public interface WxCouponMerchantMapper extends CommonMapper<WxCouponMerchant, L

int updateStatus(@Param("tenantId")String tenantId, @Param("productId")Long couponId, @Param("merchantIdList")List<Long> merchantIds,@Param("status")Integer status);

int insertList(List<WxCouponMerchant> addList);
int insertList(@Param("addList")List<WxCouponMerchant> addList);
}

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

@@ -209,7 +209,7 @@
insert into wx_coupon_merchant
(`id`,`tenant_id`,`parent_tenant_id`,`product_id`,`merchant_id`,`parameter`,`create_date`,`update_date`,`status`)
values
<foreach collection="list" item="item" index="index" separator=",">
<foreach collection="addList" item="item" index="index" separator=",">
(#{item.id,jdbcType=BIGINT},
#{item.tenantId,jdbcType=VARCHAR},
#{item.parentTenantId,jdbcType=VARCHAR},


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