Преглед изворни кода

//CouponMerchant

release_toaliyun_real
xhxu пре 3 година
родитељ
комит
e9b2f82317
2 измењених фајлова са 2 додато и 3 уклоњено
  1. +1
    -0
      mallinkService/src/main/java/com/iformall/mapper/WxCouponMerchantMapper.java
  2. +1
    -3
      mallinkService/src/main/resources/mapper/WxCouponMerchantMapper.xml

+ 1
- 0
mallinkService/src/main/java/com/iformall/mapper/WxCouponMerchantMapper.java Прегледај датотеку

@@ -28,5 +28,6 @@ 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);


//自动加tenent
int insertList(@Param("addList")List<WxCouponMerchant> addList); int insertList(@Param("addList")List<WxCouponMerchant> addList);
} }

+ 1
- 3
mallinkService/src/main/resources/mapper/WxCouponMerchantMapper.xml Прегледај датотеку

@@ -207,12 +207,10 @@


<insert id="insertList" parameterType="java.util.List"> <insert id="insertList" parameterType="java.util.List">
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`,`product_id`,`merchant_id`,`parameter`,`create_date`,`update_date`,`status`)
values values
<foreach collection="addList" 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.parentTenantId,jdbcType=VARCHAR},*/
#{item.productId,jdbcType=BIGINT}, #{item.productId,jdbcType=BIGINT},
#{item.merchantId,jdbcType=BIGINT}, #{item.merchantId,jdbcType=BIGINT},
#{item.parameter,jdbcType=VARCHAR}, #{item.parameter,jdbcType=VARCHAR},


Loading…
Откажи
Сачувај