Przeglądaj źródła

//CouponMerchant

release_toaliyun_real
xhxu 3 lat temu
rodzic
commit
b738f6f543
2 zmienionych plików z 2 dodań i 2 usunięć
  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 Wyświetl plik

@@ -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 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 Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz