Browse Source

/.

release_toaliyun_real
xhxu 4 years ago
parent
commit
236dbe9724
2 changed files with 2 additions and 4 deletions
  1. +1
    -4
      mallinkService/src/main/java/com/iformall/config/BaseMyBatisConfiguration.java
  2. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java

+ 1
- 4
mallinkService/src/main/java/com/iformall/config/BaseMyBatisConfiguration.java View File

@@ -16,10 +16,7 @@ public class BaseMyBatisConfiguration {
protected MyBatisItercepters allIntercepters() {
MyBatisItercepters intercepters = new MyBatisItercepters();
List<MyBatisPlus> plugins = new ArrayList<MyBatisPlus>();
/**
* 去掉自动 tenant_id 配置
*/
// plugins.add(multiTenancy());
plugins.add(multiTenancy());
plugins.add(baseShardingSpherePlugin());
intercepters.setPlugins(plugins);


+ 1
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java View File

@@ -320,6 +320,7 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService {
*/
private List<Long> handleCouponParam(WxCouponChannel wxCouponChannel){
WxCoupon couponQ = new WxCoupon();
couponQ.updateTenantInfo(wxCouponChannel);
couponQ.setStatus(EnumCouponStatus.COUPON_STATUS_THROW_IN.getCode());
if(wxCouponChannel.getSupportTransfer() != null){
couponQ.setSupportTransfer(wxCouponChannel.getSupportTransfer());


Loading…
Cancel
Save