xhxu 4 лет назад
Родитель
Сommit
236dbe9724
2 измененных файлов: 2 добавлений и 4 удалений
  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 Просмотреть файл

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


+ 1
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java Просмотреть файл

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


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