Ver código fonte

fix bug

release_toaliyun_real
winter 4 anos atrás
pai
commit
69c11b6d2c
2 arquivos alterados com 27 adições e 0 exclusões
  1. +21
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponSendServiceImpl.java
  2. +6
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxMsgServiceImpl.java

+ 21
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxCouponSendServiceImpl.java Ver arquivo

@@ -27,6 +27,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
@@ -40,18 +41,30 @@ public class WxCouponSendServiceImpl implements WxCouponSendService {


@Autowired @Autowired
WxCouponSendMapper wxCouponSendMapper; WxCouponSendMapper wxCouponSendMapper;
@Lazy
@Autowired @Autowired
WxCouponService wxCouponService; WxCouponService wxCouponService;
@Lazy
@Autowired @Autowired
WxCouponActionLogService wxCouponActionLogService; WxCouponActionLogService wxCouponActionLogService;
@Autowired @Autowired
WxCouponSendConfigMapper wxCouponSendConfigMapper; WxCouponSendConfigMapper wxCouponSendConfigMapper;
@Lazy
@Autowired @Autowired
WxOrderService wxOrderService; WxOrderService wxOrderService;
@Autowired @Autowired
WxCouponOrderMapper wxCouponOrderMapper; WxCouponOrderMapper wxCouponOrderMapper;
@Autowired @Autowired
WxMerchantBUserMapper wxMerchantBUserMapper; WxMerchantBUserMapper wxMerchantBUserMapper;
@Lazy
@Autowired @Autowired
PushLimitService pushLimitService; PushLimitService pushLimitService;
@Autowired @Autowired
@@ -60,16 +73,24 @@ public class WxCouponSendServiceImpl implements WxCouponSendService {
WxCUserMapper wxCUserMapper; WxCUserMapper wxCUserMapper;
@Autowired @Autowired
WxCUserBasicInfoMapper wxCUserBasicInfoMapper; WxCUserBasicInfoMapper wxCUserBasicInfoMapper;
@Lazy
@Autowired @Autowired
WxAppinfoService wxAppinfoService; WxAppinfoService wxAppinfoService;
@Autowired @Autowired
WxAuthorizerInfoMapper authorizerInfoMapper; WxAuthorizerInfoMapper authorizerInfoMapper;
@Lazy
@Autowired @Autowired
WxMsgLimitService wxMsgLimitService; WxMsgLimitService wxMsgLimitService;
@Autowired @Autowired
WxCouponMerchantMapper wxCouponMerchantMapper; WxCouponMerchantMapper wxCouponMerchantMapper;
@Lazy
@Autowired @Autowired
WxTemplateMsgService wxTemplateMsgService; WxTemplateMsgService wxTemplateMsgService;
@Lazy
@Autowired @Autowired
private WxMsgService wxMsgService; private WxMsgService wxMsgService;




+ 6
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxMsgServiceImpl.java Ver arquivo

@@ -25,6 +25,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;


@@ -49,6 +50,7 @@ public class WxMsgServiceImpl implements WxMsgService {
@Autowired @Autowired
WxMsgConfigMapper wxMsgConfigMapper; WxMsgConfigMapper wxMsgConfigMapper;


@Lazy
@Autowired @Autowired
WxCUserTagsService wxCUserTagsService; WxCUserTagsService wxCUserTagsService;


@@ -67,15 +69,19 @@ public class WxMsgServiceImpl implements WxMsgService {
@Autowired @Autowired
MqBaseProducer mqBaseProducer; MqBaseProducer mqBaseProducer;


@Lazy
@Autowired @Autowired
WxCUserBasicInfoService wxCUserBasicInfoService; WxCUserBasicInfoService wxCUserBasicInfoService;


@Lazy
@Autowired @Autowired
PushLimitService pushLimitService; PushLimitService pushLimitService;


@Lazy
@Autowired @Autowired
WxAppinfoService wxAppinfoService; WxAppinfoService wxAppinfoService;


@Lazy
@Autowired @Autowired
WxCUserService wxCUserService; WxCUserService wxCUserService;




Carregando…
Cancelar
Salvar