Просмотр исходного кода

/、lazy

release_toaliyun_real
xhxu 4 лет назад
Родитель
Сommit
bca7194c26
100 измененных файлов: 471 добавлений и 178 удалений
  1. +8
    -0
      mallinkService/src/main/java/com/iformall/service/impl/AliBusinessCircleOrderServiceImpl.java
  2. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/AliPayCUserServiceImpl.java
  3. +6
    -3
      mallinkService/src/main/java/com/iformall/service/impl/CUserTokenServiceImpl.java
  4. +4
    -0
      mallinkService/src/main/java/com/iformall/service/impl/DataTowerServiceImpl.java
  5. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/FengNiaoMapServiceImpl.java
  6. +1
    -2
      mallinkService/src/main/java/com/iformall/service/impl/JmSportOrderServiceImpl.java
  7. +3
    -1
      mallinkService/src/main/java/com/iformall/service/impl/MallPermissionServiceImpl.java
  8. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/MallResourceServiceImpl.java
  9. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/MallRolePermissionServiceImpl.java
  10. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/MallRoleServiceImpl.java
  11. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/MallUserActionServiceImpl.java
  12. +4
    -1
      mallinkService/src/main/java/com/iformall/service/impl/MallUserInfoServiceImpl.java
  13. +3
    -2
      mallinkService/src/main/java/com/iformall/service/impl/MallUserRoleServiceImpl.java
  14. +10
    -0
      mallinkService/src/main/java/com/iformall/service/impl/MarkingDataReportServiceImpl.java
  15. +4
    -0
      mallinkService/src/main/java/com/iformall/service/impl/MemCouponFromDspServiceImpl.java
  16. +3
    -1
      mallinkService/src/main/java/com/iformall/service/impl/NeuPosOrderServiceImpl.java
  17. +8
    -2
      mallinkService/src/main/java/com/iformall/service/impl/QrCodeServiceImpl.java
  18. +4
    -0
      mallinkService/src/main/java/com/iformall/service/impl/TtCUserServiceImpl.java
  19. +3
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxActivityJoinServiceImpl.java
  20. +2
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxActivityServiceImpl.java
  21. +14
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java
  22. +4
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillDailyServiceImpl.java
  23. +3
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillDepositServiceImpl.java
  24. +4
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillOtherDepositServiceImpl.java
  25. +4
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillOtherServiceImpl.java
  26. +3
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyDepositServiceImpl.java
  27. +5
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyServiceImpl.java
  28. +4
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillRentServiceImpl.java
  29. +2
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillSettleServiceImpl.java
  30. +8
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBusinessCircleOrderServiceImpl.java
  31. +8
    -7
      mallinkService/src/main/java/com/iformall/service/impl/WxCUserBasicInfoServiceImpl.java
  32. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCUserBasicSignServiceImpl.java
  33. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCUserFromServiceImpl.java
  34. +5
    -4
      mallinkService/src/main/java/com/iformall/service/impl/WxCUserServiceImpl.java
  35. +2
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCallBackServiceImpl.java
  36. +3
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCampaignServiceImpl.java
  37. +2
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCardInfoServiceImpl.java
  38. +7
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCardSpendServiceImpl.java
  39. +5
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCashOutServiceImpl.java
  40. +11
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxChartServiceImpl.java
  41. +5
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java
  42. +11
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponInjectServiceImpl.java
  43. +19
    -5
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java
  44. +2
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponPasswordServiceImpl.java
  45. +3
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponPresentServiceImpl.java
  46. +9
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponSendServiceImpl.java
  47. +10
    -9
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java
  48. +4
    -4
      mallinkService/src/main/java/com/iformall/service/impl/WxCreditHistoryServiceImpl.java
  49. +3
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxCustomizeModuleServiceImpl.java
  50. +17
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java
  51. +6
    -5
      mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java
  52. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxLevelConfigServiceImpl.java
  53. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxMallBuildingServiceImpl.java
  54. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxMallServiceImpl.java
  55. +8
    -7
      mallinkService/src/main/java/com/iformall/service/impl/WxMerchantServiceImpl.java
  56. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxMerchantSubsidyServiceImpl.java
  57. +5
    -4
      mallinkService/src/main/java/com/iformall/service/impl/WxMerchantTradeDailyServiceImpl.java
  58. +0
    -8
      mallinkService/src/main/java/com/iformall/service/impl/WxMsgServiceImpl.java
  59. +5
    -4
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderGroupServiceImpl.java
  60. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderPressServiceImpl.java
  61. +20
    -18
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java
  62. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxParkServiceImpl.java
  63. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxPayAccountServiceImpl.java
  64. +3
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxPayBillServiceImpl.java
  65. +9
    -10
      mallinkService/src/main/java/com/iformall/service/impl/WxPayOrderServiceImpl.java
  66. +3
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingOrderServiceImpl.java
  67. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingReceiverServiceImpl.java
  68. +22
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxProjectConfigServiceImpl.java
  69. +5
    -4
      mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java
  70. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxQuestionOneselfServiceImpl.java
  71. +3
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxQuestionOneselfUserServiceImpl.java
  72. +3
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxRefundOrderServiceImpl.java
  73. +8
    -7
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java
  74. +4
    -3
      mallinkService/src/main/java/com/iformall/service/impl/WxRentPropertyContractServiceImpl.java
  75. +4
    -3
      mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java
  76. +3
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxScreenAdServiceImpl.java
  77. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxShopServiceImpl.java
  78. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxSubsidyServiceImpl.java
  79. +3
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxTagsServiceImpl.java
  80. +4
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxTemplateMsgServiceImpl.java
  81. +7
    -6
      mallinkService/src/main/java/com/iformall/service/impl/WxThirdPartyOrdersServiceImpl.java
  82. +3
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxTopicServiceImpl.java
  83. +2
    -0
      mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBaseServiceImpl.java
  84. +16
    -0
      mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBizServiceImpl.java
  85. +3
    -0
      mallinkService/src/main/java/com/iformall/service/invest/impl/InvestCustomerServiceImpl.java
  86. +4
    -0
      mallinkService/src/main/java/com/iformall/service/invest/impl/InvestDemandServiceImpl.java
  87. +3
    -0
      mallinkService/src/main/java/com/iformall/service/invest/impl/InvestFollowRecordServiceImpl.java
  88. +3
    -0
      mallinkService/src/main/java/com/iformall/service/kw/impl/KwBoxServiceImpl.java
  89. +3
    -3
      mallinkService/src/main/java/com/iformall/service/msg/impl/FmInsideCLoginMsgServiceImpl.java
  90. +2
    -0
      mallinkService/src/main/java/com/iformall/service/msg/impl/FmInsideCashOutMsgServiceImpl.java
  91. +4
    -2
      mallinkService/src/main/java/com/iformall/service/msg/impl/FmInsideCouponVerifyMsgServiceImpl.java
  92. +2
    -0
      mallinkService/src/main/java/com/iformall/service/msg/impl/FmInsideNotifyRefundSuccessMsgServiceImpl.java
  93. +5
    -3
      mallinkService/src/main/java/com/iformall/service/msg/impl/FmInsideOrderSuccessMsgServiceImpl.java
  94. +4
    -1
      mallinkService/src/main/java/com/iformall/service/msg/impl/SendCallBackSmsServiceImpl.java
  95. +2
    -1
      mallinkService/src/main/java/com/iformall/service/msg/impl/SendMpMsgServiceImpl.java
  96. +4
    -2
      mallinkService/src/main/java/com/iformall/service/msg/impl/SendSmartAppMsgServiceImpl.java
  97. +2
    -0
      mallinkService/src/main/java/com/iformall/service/msg/impl/SendSmsServiceImpl.java
  98. +2
    -1
      mallinkService/src/main/java/com/iformall/service/msg/impl/SendWeappUniformMsgServiceImpl.java
  99. +2
    -1
      mallinkService/src/main/java/com/iformall/service/msg/impl/UpdateCouponStockMsgServiceImpl.java
  100. +5
    -3
      mallinkService/src/main/java/com/iformall/service/order/OrderFactory.java

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

@@ -16,6 +16,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -32,27 +33,34 @@ public class AliBusinessCircleOrderServiceImpl implements AliBusinessCircleOrder

private static final String ALI_CIRCLE_KEY = "CIRCLE:ALI:";

@Lazy
@Autowired
ExcelService excelService;

@Lazy
@Autowired
RedisLock redisLock;

@Autowired
AliBusinessCircleOrderMapper aliBusinessCircleOrderMapper;

@Lazy
@Autowired
WxMerchantService wxMerchantService;

@Lazy
@Autowired
AliPayCUserService aliPayCUserService;

@Lazy
@Autowired
WxCUserBasicInfoService wxCUserBasicInfoService;

@Lazy
@Autowired
WxCreditHistoryService creditHistoryService;

@Lazy
@Autowired
WxCouponSendService wxCouponSendService;



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

@@ -14,6 +14,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;



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

@@ -15,6 +15,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

@@ -25,13 +26,15 @@ public class CUserTokenServiceImpl implements CUserTokenService {
@Autowired
WxCUserMapper wxCUserMapper;

@Lazy
@Autowired
CUserServiceFactory cuserFactory;

@Lazy
@Autowired
@Qualifier("objectCommonRedisTemplate")
RedisTemplate<String, Object> baseCUserTokenRedisTemplate;

@Autowired
CUserServiceFactory cuserFactory;

private EnumAppPlat getPlat(String token) {
if(token.endsWith(Constant.TOKEN_WXC_END)){
return EnumAppPlat.WX;


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

@@ -25,6 +25,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;
import java.math.BigDecimal;
@@ -83,12 +84,15 @@ public class DataTowerServiceImpl implements DataTowerService {
@Autowired
private WxMallMapper wxMallMapper;

@Lazy
@Autowired
private WxCouponOrderService wxCouponOrderService;

@Lazy
@Autowired
private WxCouponChannelService wxCouponChannelService;

@Lazy
@Autowired
private WxCUserCarService wxCUserCarService;



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

@@ -5,6 +5,7 @@ import com.iformall.mapper.FengNiaoMapConfigMapper;
import com.iformall.service.FengNiaoMapService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

@Service


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

@@ -4,12 +4,12 @@ import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.iformall.common.IdWorker;
import com.iformall.domain.po.JmSportOrder;
import com.iformall.domain.po.MemCouponFromDsp;
import com.iformall.mapper.*;
import com.iformall.service.JmSportOrderService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.Date;
@@ -20,7 +20,6 @@ public class JmSportOrderServiceImpl implements JmSportOrderService {

private final Logger logger = LoggerFactory.getLogger(this.getClass());


@Autowired
private JmSportOrderMapper jmSportOrderMapper;



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

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

import java.util.*;
@@ -31,7 +32,7 @@ import java.util.*;
@Service
public class MallPermissionServiceImpl implements MallPermissionService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
private MallPermissionMapper mallPermissionMapper;

@@ -40,6 +41,7 @@ public class MallPermissionServiceImpl implements MallPermissionService {

@Autowired
private WxMallMapper wxMallMapper;

@Autowired
private WxLogicPermissionMapper logicPermissionDao;



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

@@ -6,16 +6,16 @@ import com.iformall.domain.po.MallResource;
import com.iformall.mapper.MallResourceMapper;
import com.iformall.service.MallResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import com.iformall.common.IdWorker;

@Service
public class MallResourceServiceImpl implements MallResourceService {
@Autowired
MallResourceMapper mallResourceMapper;


@Override
public PageInfo<MallResource> listAsPage(MallResource record, Integer pageIndex, Integer pageSize) {
return PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> mallResourceMapper.findList(record));


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

@@ -12,6 +12,7 @@ import com.iformall.service.MallRolePermissionService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
@@ -25,7 +26,6 @@ public class MallRolePermissionServiceImpl implements MallRolePermissionService
@Autowired
MallRolePermissionMapper mallUserRolePermissionMapper;


@Override
public PageInfo<MallRolePermission> listAsPage(MallRolePermission record, Integer pageIndex, Integer pageSize) {
return PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> mallUserRolePermissionMapper.findList(record));


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

@@ -10,6 +10,7 @@ import com.iformall.service.MallRoleService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.HashMap;
@@ -19,11 +20,10 @@ import java.util.Map;
@Service
public class MallRoleServiceImpl implements MallRoleService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
MallRoleMapper mallRoleMapper;


@Override
public PageInfo<MallRole> listAsPage(MallRole record, Integer pageIndex, Integer pageSize) {
return PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> mallRoleMapper.findList(record));


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

@@ -8,6 +8,7 @@ import com.iformall.domain.vo.MallUserActionVo;
import com.iformall.mapper.MallUserActionMapper;
import com.iformall.service.MallUserActionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import com.iformall.common.IdWorker;

@@ -15,7 +16,7 @@ import java.util.Date;

@Service
public class MallUserActionServiceImpl implements MallUserActionService {
@Autowired
MallUserActionMapper mallUserActionMapper;



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

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

@@ -32,6 +33,7 @@ import java.util.stream.Collectors;

@Service
public class MallUserInfoServiceImpl implements MallUserInfoService {

private final Logger logger = LoggerFactory.getLogger(this.getClass());

@Autowired
@@ -51,10 +53,11 @@ public class MallUserInfoServiceImpl implements MallUserInfoService {

@Autowired
MallRolePermissionMapper mallRolePermissionMapper;
@Autowired
WxMsgValidationcodeMapper wxMsgValidationcodeMapper;

@Lazy
@Autowired
private WxMallService mallService;



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

@@ -15,21 +15,22 @@ import com.iformall.service.MallUserRoleService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MallUserRoleServiceImpl implements MallUserRoleService {

private final Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
MallUserRoleMapper mallUserRoleMapper;

@Autowired
MallRolePermissionMapper mallRolePermissionMapper;


@Override
public PageInfo<MallUserRole> listAsPage(MallUserRole record, Integer pageIndex, Integer pageSize) {
return PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> mallUserRoleMapper.findList(record));


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

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

import javax.servlet.http.HttpServletRequest;
@@ -36,25 +37,34 @@ import java.util.stream.Collectors;
*/
@Service
public class MarkingDataReportServiceImpl implements MarkingDataReportService {

private final Logger logger = LoggerFactory.getLogger(this.getClass());

@Autowired
private WxCouponOrderMapper wxCouponOrderMapper;

@Autowired
private WxCouponActionLogMapper wxCouponActionLogMapper;

@Autowired
private WxCarCmdLogMapper wxCarCmdLogMapper;

@Autowired
private WxUserVisitMapper wxUserVisitMapper;

@Autowired
private WxCouponMapper wxCouponMapper;
@Autowired
private WxOrderMapper wxOrderMapper;

@Autowired
private WxMallMapper wxMallMapper;

@Lazy
@Autowired
private ExcelService excelService;
@Lazy
@Autowired
private WxCouponOrderService wxCouponOrderService;



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

@@ -19,6 +19,7 @@ import com.iformall.service.WxOrderService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import com.iformall.common.IdWorker;

@@ -35,10 +36,13 @@ public class MemCouponFromDspServiceImpl implements MemCouponFromDspService {
@Autowired
private WxCouponMapper couponMapper;

@Lazy
@Autowired
private WxOrderService wxOrderService;
@Lazy
@Autowired
private WxCUserService wxCUserService;
@Lazy
@Autowired
private WxCUserBasicInfoService wxCUserBasicInfoService;



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

@@ -20,6 +20,7 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

@Service
@@ -27,7 +28,8 @@ public class NeuPosOrderServiceImpl implements NeuPosOrderService {
@Autowired
NeuPosOrderMasterExtMapper neuPosOrderMasterExtMapper;

@Lazy
@Autowired
ExcelService excelService;



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

@@ -17,6 +17,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@@ -28,15 +29,20 @@ import java.util.*;
*/
@Service
public class QrCodeServiceImpl implements QrCodeService {

private final Logger logger = LoggerFactory.getLogger(this.getClass());

@Lazy
@Autowired
private WxAppinfoService wxAppinfoService;
@Autowired
private boolean isFmOpen;

@Autowired
private String fmUploadDir;

@Lazy
@Autowired
private PayServiceFactory payServiceFactory;

@Autowired
private AliyunOSS aliyunOSS;



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

@@ -22,6 +22,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

@@ -36,12 +37,15 @@ public class TtCUserServiceImpl implements TtCUserService {
@Autowired
private TtCUserMapper ttCUserMapper;

@Lazy
@Autowired
private WxCUserBasicInfoService wxCUserBasicInfoService;

@Lazy
@Autowired
private WxScoreRulesService wxScoreRulesService;

@Lazy
@Autowired
private WxCUserTagsService wxCUserTagsService;



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

@@ -24,6 +24,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -52,6 +53,7 @@ public class WxActivityJoinServiceImpl implements WxActivityJoinService {
@Autowired
WxActivityMapper wxActivityMapper;

@Lazy
@Autowired
ExcelService excelService;

@@ -67,6 +69,7 @@ public class WxActivityJoinServiceImpl implements WxActivityJoinService {
@Autowired
WxCreditHistoryMapper wxCreditHistoryMapper;

@Lazy
@Autowired
WxCreditHistoryService wxCreditHistoryService;



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

@@ -22,6 +22,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -42,6 +43,7 @@ public class WxActivityServiceImpl implements WxActivityService {

@Autowired
WxActivityMapper wxActivityMapper;
@Lazy
@Autowired
WxCampaignService wxCampaignService;
@Autowired


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

@@ -28,6 +28,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

@@ -49,24 +50,31 @@ public class WxBillAllServiceImpl implements WxBillAllService {
@Autowired
WxBillAllMapper wxBillAllMapper;

@Lazy
@Autowired
WxBillDailyService wxBillDailyService;

@Lazy
@Autowired
WxBillDepositService wxBillDepositService;

@Lazy
@Autowired
WxBillPropertyDepositService wxBillPropertyDepositService;

@Lazy
@Autowired
WxBillPropertyService wxBillPropertyService;

@Lazy
@Autowired
WxBillRentService wxBillRentService;

@Lazy
@Autowired
WxBillOtherService wxBillOtherService;

@Lazy
@Autowired
WxBillOtherDepositService wxBillOtherDepositService;

@@ -91,12 +99,14 @@ public class WxBillAllServiceImpl implements WxBillAllService {
@Autowired
WxBillOtherDepositMapper wxBillOtherDepositMapper;

@Lazy
@Autowired
ExcelService excelService;

@Autowired
MqBaseProducer mqBaseProducer;

@Lazy
@Autowired
WxBillActionService wxBillActionService;

@@ -124,14 +134,18 @@ public class WxBillAllServiceImpl implements WxBillAllService {
@Autowired
StringRedisTemplate stringRedisTemplate;

@Lazy
@Autowired
WxBillSettleRecordService wxBillSettleRecordService;

@Lazy
@Autowired
WxBillSettleService wxBillSettleService;

@Autowired
WxBillSettleRecordMapper wxBillSettleRecordMapper;

@Lazy
@Autowired
WxPayAccountBillService wxPayAccountBillService;



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

@@ -25,6 +25,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -47,8 +48,10 @@ public class WxBillDailyServiceImpl implements WxBillDailyService {

@Autowired
WxShopMapper wxShopMapper;
@Lazy
@Autowired
WxBillActionService wxBillActionService;
@Lazy
@Autowired
ExcelService excelService;
@Autowired
@@ -57,6 +60,7 @@ public class WxBillDailyServiceImpl implements WxBillDailyService {
WxMerchantShopMapper wxMerchantShopMapper;
@Autowired
WxMerchantMapper wxMerchantMapper;
@Lazy
@Autowired
WxPayAccountBillService wxPayAccountBillService;



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

@@ -23,6 +23,7 @@ import com.iformall.utils.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@@ -42,9 +43,11 @@ public class WxBillDepositServiceImpl implements WxBillDepositService {
@Autowired
WxBillDepositMapper wxBillDepositMapper;

@Lazy
@Autowired
WxBillActionService wxBillActionService;

@Lazy
@Autowired
WxPayAccountBillService wxPayAccountBillService;



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

@@ -21,6 +21,7 @@ import com.iformall.utils.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@@ -45,12 +46,15 @@ public class WxBillOtherDepositServiceImpl implements WxBillOtherDepositService
@Autowired
WxMerchantMapper wxMerchantMapper;

@Lazy
@Autowired
WxBillActionService wxBillActionService;

@Lazy
@Autowired
ExcelService excelService;

@Lazy
@Autowired
WxPayAccountBillService wxPayAccountBillService;



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

@@ -21,6 +21,7 @@ import com.iformall.utils.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@@ -45,12 +46,15 @@ public class WxBillOtherServiceImpl implements WxBillOtherService {
@Autowired
WxMerchantMapper wxMerchantMapper;

@Lazy
@Autowired
WxBillActionService wxBillActionService;

@Lazy
@Autowired
ExcelService excelService;

@Lazy
@Autowired
WxPayAccountBillService wxPayAccountBillService;



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

@@ -23,6 +23,7 @@ import com.iformall.utils.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@@ -41,8 +42,10 @@ public class WxBillPropertyDepositServiceImpl implements WxBillPropertyDepositSe

@Autowired
WxBillPropertyDepositMapper wxBillPropertyDepositMapper;
@Lazy
@Autowired
WxBillActionService wxBillActionService;
@Lazy
@Autowired
WxPayAccountBillService wxPayAccountBillService;



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

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

@@ -43,16 +44,20 @@ public class WxBillPropertyServiceImpl implements WxBillPropertyService {
@Autowired
WxBillPropertyDepositMapper wxBillPropertyDepositMapper;

@Lazy
@Autowired
WxBillActionService wxBillActionService;

@Lazy
@Autowired
ExcelService excelService;

@Autowired
WxBillActionMapper wxBillActionMapper;
@Lazy
@Autowired
WxPayAccountBillService wxPayAccountBillService;
@Lazy
@Autowired
WxBillPropertyDepositService wxBillPropertyDepositService;



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

@@ -23,6 +23,7 @@ import org.joda.time.format.DateTimeFormatter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.servlet.http.HttpServletRequest;
@@ -44,6 +45,7 @@ public class WxBillRentServiceImpl implements WxBillRentService {
WxBillRentMapper wxBillRentMapper;
@Autowired
WxBillDepositMapper wxBillDepositMapper;
@Lazy
@Autowired
WxBillActionService wxBillActionService;
@Autowired
@@ -54,8 +56,10 @@ public class WxBillRentServiceImpl implements WxBillRentService {
WxRentContractMapper wxRentContractMapper;
@Autowired
WxMerchantTradeDailyMapper wxMerchantTradeDailyMapper;
@Lazy
@Autowired
WxPayAccountBillService wxPayAccountBillService;
@Lazy
@Autowired
WxBillDepositService wxBillDepositService;



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

@@ -16,6 +16,7 @@ import com.iformall.service.WxFlowService;
import com.iformall.utils.DateUtils;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@@ -58,6 +59,7 @@ public class WxBillSettleServiceImpl implements WxBillSettleService {
private WxBillSettleRecordMapper wxBillSettleRecordMapper;
@Autowired
private WxMerchantSubsidyMapper wxMerchantSubsidyMapper;
@Lazy
@Autowired
private ExcelService excelService;
@Autowired


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

@@ -16,6 +16,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -33,6 +34,7 @@ public class WxBusinessCircleOrderServiceImpl implements WxBusinessCircleOrderSe

private final String WX_CIRCLE_KEY = "CIRCLE:WX:";

@Lazy
@Autowired
ExcelService excelService;

@@ -42,21 +44,27 @@ public class WxBusinessCircleOrderServiceImpl implements WxBusinessCircleOrderSe
@Autowired
WxBusinessCircleOrderMapper wxBusinessCircleOrderMapper;

@Lazy
@Autowired
WxMerchantService wxMerchantService;

@Lazy
@Autowired
WxCUserService wxCUserService;

@Lazy
@Autowired
WxCUserBasicInfoService wxCUserBasicInfoService;

@Lazy
@Autowired
WxCreditHistoryService creditHistoryService;

@Lazy
@Autowired
WxCallBackService wxCallBackService;

@Lazy
@Autowired
WxCouponSendService wxCouponSendService;



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

@@ -23,6 +23,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

@@ -60,13 +61,13 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService,IExc

@Autowired
WxCreditHistoryMapper creditHistoryMapper;
@Lazy
@Autowired
WxCUserTagsService wxCUserTagsService;
@Lazy
@Autowired
WxCUserBasicChildService wxCUserBasicChildService;
@Lazy
@Autowired
WxScoreRulesService wxScoreRulesService;

@@ -75,16 +76,16 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService,IExc

@Autowired
WxCarPayRecordMapper wxCarPayRecordMapper;
@Lazy
@Autowired
ExcelService excelService;
@Lazy
@Autowired
WxCreditHistoryService wxCreditHistoryService;
@Lazy
@Autowired
WxLevelConfigService wxLevelConfigService;
@Lazy
@Autowired
WxTagsService wxTagsService;



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

@@ -18,6 +18,7 @@ import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -36,7 +37,7 @@ public class WxCUserBasicSignServiceImpl implements WxCUserBasicSignService {

@Autowired
WxCUserBasicSignMapper wxCUserBasicSignMapper;
@Lazy
@Autowired
WxCreditHistoryService wxCreditHistoryService;



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

@@ -13,6 +13,7 @@ import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
@@ -33,7 +34,7 @@ public class WxCUserFromServiceImpl implements WxCUserFromService, IExcelExportS

@Autowired
WxMerchantMapper wxMerchantMapper;
@Lazy
@Autowired
ExcelService excelService;



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

@@ -22,6 +22,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

@@ -34,19 +35,19 @@ public class WxCUserServiceImpl implements WxCUserService {

@Autowired
WxCUserMapper wxCUserMapper;
@Lazy
@Autowired
private WxCUserBasicInfoService wxCUserBasicInfoService;
@Lazy
@Autowired
private WxScoreRulesService wxScoreRulesService;
@Lazy
@Autowired
private WxCUserTagsService wxCUserTagsService;

@Autowired
private MqBaseProducer mqBaseProducer;
@Lazy
@Autowired
private CUserTokenService cUserTokenService;



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

@@ -9,6 +9,7 @@ import com.iformall.service.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.text.SimpleDateFormat;
@@ -22,6 +23,7 @@ public class WxCallBackServiceImpl implements WxCallBackService {

private final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'+'mm:ss", Locale.CHINA);

@Lazy
@Autowired
WxPayAccountService wxPayAccountService;



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

@@ -23,6 +23,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -47,9 +48,11 @@ public class WxCampaignServiceImpl implements WxCampaignService {
@Autowired
WxCouponChannelMapper wxCouponChannelMapper;

@Lazy
@Autowired
WxCouponService wxCouponService;

@Lazy
@Autowired
QrCodeService qrCodeService;



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

@@ -9,6 +9,7 @@ import com.iformall.mapper.WxCardInfoMapper;
import com.iformall.service.ExcelService;
import com.iformall.service.WxCardInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
@@ -21,6 +22,7 @@ public class WxCardInfoServiceImpl implements WxCardInfoService {
@Autowired
WxCardInfoMapper wxCardInfoMapper;

@Lazy
@Autowired
ExcelService excelService;



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

@@ -20,6 +20,7 @@ import com.iformall.utils.PayUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -62,18 +63,23 @@ public class WxCardSpendServiceImpl implements WxCardSpendService {
@Autowired
WxCouponOrderMapper wxCouponOrderMapper;

@Lazy
@Autowired
WxProfitSharingOrderService profitSharingOrderService;

@Lazy
@Autowired
ExcelService excelService;

@Lazy
@Autowired
WxCreditHistoryService wxCreditHistoryService;

@Lazy
@Autowired
WxScoreRulesService wxScoreRulesService;

@Lazy
@Autowired
WxCashOutService wxCashOutService;



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

@@ -36,6 +36,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -54,12 +55,16 @@ public class WxCashOutServiceImpl implements WxCashOutService {
RedisLock redisLock;
@Autowired
MqBaseProducer mqBaseProducer;
@Lazy
@Autowired
private WxFlowService wxFlowService;
@Lazy
@Autowired
PayServiceFactory payServiceFactory;
@Lazy
@Autowired
WxAppinfoService wxAppinfoService;
@Lazy
@Autowired
WxPayAccountService wxPayAccountService;



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

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

import java.math.BigDecimal;
@@ -70,6 +71,7 @@ public class WxChartServiceImpl implements WxChartDataService {
WxLevelConfigMapper wxLevelConfigMapper;
@Autowired
WxCUserTagsMapper wxCUserTagsMapper;
@Lazy
@Autowired
WxCouponService wxCouponService;
@Autowired
@@ -82,23 +84,31 @@ public class WxChartServiceImpl implements WxChartDataService {
WxBillOtherMapper wxBillOtherMapper;
@Autowired
WxBillAllMapper wxBillAllMapper;
@Lazy
@Autowired
MarkingDataReportService markingDataReportService;
@Lazy
@Autowired
WxBusinessService wxBusinessService;
@Lazy
@Autowired
WxCouponOrderService wxCouponOrderService;
@Lazy
@Autowired
KwMeterDataService kwMeterDataService;
@Lazy
@Autowired
KwMerchantMeterService kwMerchantMeterService;
@Lazy
@Autowired
KwMeterService kwMeterService;
@Lazy
@Autowired
private WxCUserBasicInfoService wxCUserBasicInfoService;
@Lazy
@Autowired
private WxCUserService wxCUserService;
@Lazy
@Autowired
private WxCUserCarService wxCUserCarService;



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

@@ -24,6 +24,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
import org.springframework.stereotype.Service;
@@ -38,16 +39,20 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService {

@Autowired
WxCouponChannelMapper wxCouponChannelMapper;
@Lazy
@Autowired
WxCouponService wxCouponService;
@Autowired
WxMerchantMapper wxMerchantMapper;
@Autowired
WxCouponMerchantMapper wxCouponMerchantMapper;
@Lazy
@Autowired
WxScreenAdService wxScreenAdService;
@Lazy
@Autowired
WxOrderService wxOrderService;
@Lazy
@Autowired
QrCodeService qrCodeService;
@Autowired


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

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

import java.util.*;
@@ -29,33 +30,43 @@ public class WxCouponInjectServiceImpl implements WxCouponInjectService {
@Autowired
WxCouponInjectMapper couponInjectMapper;

@Lazy
@Autowired
WxCouponOrderService wxCouponOrderService;

@Lazy
@Autowired
WxCouponService wxCouponService;

@Lazy
@Autowired
WxCUserBasicInfoService wxCUserBasicInfoService;

@Lazy
@Autowired
WxCUserService wxCUserService;

@Lazy
@Autowired
WxCouponActionLogService wxCouponActionLogService;

@Lazy
@Autowired
WxMsgService wxMsgService;

@Lazy
@Autowired
WxMsgModelService wxMsgModelService;

@Lazy
@Autowired
WxMsgConfigService wxMsgConfigService;

@Lazy
@Autowired
PushLimitService pushLimitService;

@Lazy
@Autowired
WxOrderService wxOrderService;



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

@@ -44,6 +44,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
@@ -82,12 +83,15 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService {
@Autowired
WxCUserBasicInfoMapper wxCUserBasicInfoMapper;

@Lazy
@Autowired
WxOrderService wxOrderService;

@Lazy
@Autowired
WxCouponSendService wxCouponSendService;

@Lazy
@Autowired
WxProfitSharingOrderService wxProfitSharingOrderService;
@@ -106,6 +110,7 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService {
@Autowired
WxCouponMapper wxCouponMapper;

@Lazy
@Autowired
WxAppinfoService wxAppinfoService;

@@ -130,16 +135,19 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService {
@Autowired
WxAuthorizerInfoMapper authorizerInfoMapper;

@Lazy
@Autowired
ExcelService excelService;

@Lazy
@Autowired
WxCreditHistoryService wxCreditHistoryService;

@Lazy
@Autowired
WxScoreRulesService wxScoreRulesService;

@Lazy
@Autowired
WxMsgLimitService wxMsgLimitService;

@@ -148,10 +156,12 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService {

@Autowired
WxPayOrderMapper payOrderMapper;

@Lazy
@Autowired
PayServiceFactory payServiceFactory;

@Lazy
@Autowired
WxCashOutService cashOutService;

@@ -161,14 +171,18 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService {
@Autowired
RedisLock redisLock;

@Lazy
@Autowired
OrderFactory orderFactory;

@Lazy
@Autowired
WxCUserBasicInfoService wxCUserBasicInfoService;
@Lazy
@Autowired
SysConfigService sysConfigService;
@Lazy
@Autowired
WxMerchantBUserService wxMerchantBUserService;


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

@@ -15,6 +15,7 @@ import com.iformall.service.WxCouponPasswordService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
@@ -31,6 +32,7 @@ public class WxCouponPasswordServiceImpl implements WxCouponPasswordService {
@Autowired
WxCouponPasswordMapper wxCouponPasswordMapper;

@Lazy
@Autowired
ExcelService excelService;



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

@@ -20,6 +20,7 @@ import com.iformall.service.msg.impl.SendSmsServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@@ -38,9 +39,11 @@ public class WxCouponPresentServiceImpl implements WxCouponPresentService {
@Autowired
WxCouponPasswordMapper wxCouponPasswordMapper;

@Lazy
@Autowired
WxAppinfoService wxAppinfoService;

@Lazy
@Autowired
private MqBaseProducer mqBaseProducer;



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

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

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



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

@@ -38,6 +38,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
@@ -64,16 +65,16 @@ public class WxCouponServiceImpl implements WxCouponService {

@Autowired
WxMerchantMapper wxMerchantMapper;
@Lazy
@Autowired
WxCouponChannelService wxCouponChannelService;
@Lazy
@Autowired
WxCouponSendService wxCouponSendService;
@Lazy
@Autowired
WxOrderService wxOrderService;
@Lazy
@Autowired
WxScreenAdService wxScreenAdService;

@@ -85,7 +86,7 @@ public class WxCouponServiceImpl implements WxCouponService {

@Autowired
WxCouponPasswordMapper couponPasswordMapper;
@Lazy
@Autowired
WxCouponPasswordService couponPasswordService;

@@ -97,16 +98,16 @@ public class WxCouponServiceImpl implements WxCouponService {
@Autowired
WxCardTransferInfoMapper wxCardTransferInfoMapper;
@Lazy
@Autowired
ExcelService excelService;
@Lazy
@Autowired
WxCardDataExporter cardDataExporter;
@Lazy
@Autowired
WxCouponDataExporter couponDataExporter;
@Lazy
@Autowired
WxPressDataExporter pressDataExporter;



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

@@ -68,7 +68,7 @@ public class WxCreditHistoryServiceImpl implements WxCreditHistoryService {

@Autowired
MallUserInfoMapper mallUserInfoMapper;
@Lazy
@Autowired
WxScoreRulesService wxScoreRulesService;

@@ -80,20 +80,20 @@ public class WxCreditHistoryServiceImpl implements WxCreditHistoryService {

@Autowired
RedisLock redisLock;
@Lazy
@Autowired
ExcelService excelService;

@Autowired
WxLevelConfigMapper wxLevelConfigMapper;
@Lazy
@Autowired
private WxMallService wxMallService;

@Lazy
@Autowired
private WxMsgService wxMsgService;
@Lazy
@Autowired
private WxTemplateMsgService wxTemplateMsgService;



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

@@ -13,6 +13,7 @@ import com.iformall.service.WxMiniappThemeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -27,10 +28,10 @@ public class WxCustomizeModuleServiceImpl implements WxCustomizeModuleService {

@Autowired
WxCustomizeModuleMapper wxCustomizeModuleMapper;
@Lazy
@Autowired
WxMiniappThemeService wxMiniappThemeService;
@Lazy
@Autowired
WxAppinfoService wxAppinfoService;



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

@@ -41,6 +41,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
@@ -58,24 +59,33 @@ import java.util.*;
@Service
public class WxFlowServiceImpl implements WxFlowService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
@Lazy
@Autowired
private RuntimeService runtimeService;
@Lazy
@Autowired
private TaskService taskService;
@Lazy
@Autowired
private RepositoryService repositoryService;
@Lazy
@Autowired
private ProcessEngine processEngine;
@Lazy
@Autowired
private WxRentContractService wxRentContractService;
@Lazy
@Autowired
private WxFlowRecordService wxFlowRecordService;
@Lazy
@Autowired
private MallUserInfoService mallUserInfoService;
@Lazy
@Autowired
private WxPropertyContractMapper wxPropertyContractMapper;
@Autowired
private WxPropertyContractService wxPropertyContractService;
@Lazy
@Autowired
private WxFlowRecordMapper wxFlowRecordMapper;
@Autowired
@@ -84,23 +94,28 @@ public class WxFlowServiceImpl implements WxFlowService {
private WxFlowModelMapper wxFlowModelMapper;
@Autowired
private WxFlowConfigMapper wxFlowConfigMapper;
@Lazy
@Autowired
private WxBillAllService wxBillAllService;
@Autowired
private WxCouponMapper wxCouponMapper;
@Lazy
@Autowired
private WxCouponService wxCouponService;
@Autowired
private WxRentContractMapper wxRentContractMapper;
@Autowired
private WxBillSettleMapper wxBillSettleMapper;
@Lazy
@Autowired
private WxBillSettleService wxBillSettleService;
@Lazy
@Autowired
private WxCashOutService wxCashOutService;
@Autowired
@Qualifier("couponChannelRedisTemplate")
RedisTemplate<String, PageInfo<WxCouponChannelVo>> cdRedisTemplate;
@Autowired
private WxCashOutService wxCashOutService;


@Override
public void wxFlowConfigInit(String tenantId) {


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

@@ -29,6 +29,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
import org.springframework.stereotype.Service;
@@ -53,25 +54,25 @@ public class WxGameServiceImpl implements WxGameService {

@Autowired
WxCouponChannelMapper wxCouponChannelMapper;
@Lazy
@Autowired
WxCouponService wxCouponService;

@Autowired
WxCouponOrderMapper wxCouponOrderMapper;
@Lazy
@Autowired
WxCouponChannelService wxCouponChannelService;
@Lazy
@Autowired
WxGameTemplateService wxGameTemplateService;

@Autowired
WxGameActionLogMapper wxGameActionLogMapper;
@Lazy
@Autowired
private QrCodeService qrCodeService;
@Lazy
@Autowired
private WxOrderService wxOrderService;


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

@@ -26,6 +26,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
import org.springframework.stereotype.Service;
@@ -51,7 +52,7 @@ public class WxLevelConfigServiceImpl implements WxLevelConfigService {

@Autowired
WxCUserBasicInfoMapper wxCUserBasicInfoMapper;
@Lazy
@Autowired
private WxCUserBasicInfoService wxCUserBasicInfoService;



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

@@ -22,6 +22,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

@@ -31,7 +32,7 @@ import java.util.stream.Collectors;
@Service
public class WxMallBuildingServiceImpl implements WxMallBuildingService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
@Lazy
@Autowired
WxMallService wxMallService;



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

@@ -23,6 +23,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
import org.springframework.stereotype.Service;
@@ -46,7 +47,7 @@ public class WxMallServiceImpl implements WxMallService {

@Autowired
WxMallFloorMapper wxMallFloorMapper;
@Lazy
@Autowired
MallUserInfoService userInfoService;



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

@@ -25,6 +25,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
@@ -66,10 +67,10 @@ public class WxMerchantServiceImpl implements WxMerchantService {

@Autowired
WxCouponMapper wxCouponMapper;
@Lazy
@Autowired
WxCouponService wxCouponService;
@Lazy
@Autowired
WxProfitSharingReceiverService wxProfitSharingReceiverService;

@@ -84,13 +85,13 @@ public class WxMerchantServiceImpl implements WxMerchantService {

@Autowired
WxCouponMerchantMapper wxCouponMerchantMapper;
@Lazy
@Autowired
WxRentContractService wxRentContractService;
@Lazy
@Autowired
WxLevelConfigService wxLevelConfigService;
@Lazy
@Autowired
ExcelService excelService;

@@ -99,10 +100,10 @@ public class WxMerchantServiceImpl implements WxMerchantService {

@Autowired
WxProfitSharingReceiverMapper wxProfitSharingReceiverMapper;
@Lazy
@Autowired
WxPropertyContractService wxPropertyContractService;
@Lazy
@Autowired
WxMallService wxMallService;



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

@@ -13,6 +13,7 @@ import com.iformall.service.ExcelService;
import com.iformall.service.WxMerchantSubsidyService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
@@ -29,7 +30,7 @@ public class WxMerchantSubsidyServiceImpl implements WxMerchantSubsidyService {
@Autowired
WxMerchantSubsidyMapper wxMerchantSubsidyMapper;
@Lazy
@Autowired
ExcelService excelService;



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

@@ -19,6 +19,7 @@ import com.iformall.utils.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
@@ -33,16 +34,16 @@ public class WxMerchantTradeDailyServiceImpl implements WxMerchantTradeDailyServ

@Autowired
WxMerchantTradeDailyMapper wxMerchantTradeDailyMapper;
@Lazy
@Autowired
WxMerchantBUserService wxMerchantBUserService;
@Lazy
@Autowired
WxMerchantService wxMerchantService;
@Lazy
@Autowired
WxMallService wxMallService;
@Lazy
@Autowired
ExcelService excelService;



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

@@ -41,15 +41,12 @@ import java.util.stream.Collectors;
public class WxMsgServiceImpl implements WxMsgService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());

@Lazy
@Autowired
WxMsgMapper wxMsgMapper;

@Lazy
@Autowired
WxCUserMapper wxCUserMapper;

@Lazy
@Autowired
WxMsgConfigMapper wxMsgConfigMapper;

@@ -57,23 +54,18 @@ public class WxMsgServiceImpl implements WxMsgService {
@Autowired
WxCUserTagsService wxCUserTagsService;

@Lazy
@Autowired
WxCUserBasicInfoMapper wxCUserBasicInfoMapper;

@Lazy
@Autowired
WxMsgCallbackMapper wxMsgCallbackMapper;

@Lazy
@Autowired
WxMsgModelMapper wxMsgModelMapper;

@Lazy
@Autowired
WxTemplateMsgMapper wxTemplateMsgMapper;

@Lazy
@Autowired
MqBaseProducer mqBaseProducer;



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

@@ -24,6 +24,7 @@ import com.iformall.utils.RedisLock;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -47,7 +48,7 @@ public class WxOrderGroupServiceImpl implements WxOrderGroupService {

@Autowired
WxOrderMapper wxOrderMapper;
@Lazy
@Autowired
WxOrderService wxOrderService;

@@ -65,7 +66,7 @@ public class WxOrderGroupServiceImpl implements WxOrderGroupService {

@Autowired
WxAppinfoMapper wxAppinfoMapper;
@Lazy
@Autowired
WxRefundOrderService wxRefundOrderService;

@@ -77,10 +78,10 @@ public class WxOrderGroupServiceImpl implements WxOrderGroupService {
@Autowired
WxPayOrderMapper wxPayOrderMapper;
@Lazy
@Autowired
ExcelService excelService;
@Lazy
@Autowired
WxOrderGroupDataExporter orderGroupDataExporter;



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

@@ -25,6 +25,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

@@ -49,7 +50,7 @@ public class WxOrderPressServiceImpl implements WxOrderPressService {

@Autowired
WxCUserMapper userMapper;
@Lazy
@Autowired
WxMsgLimitService wxMsgLimitService;



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

@@ -33,6 +33,7 @@ import org.slf4j.LoggerFactory;
import org.springframework.aop.framework.AopContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
import org.springframework.stereotype.Service;
@@ -113,13 +114,13 @@ public class WxOrderServiceImpl implements WxOrderService {

@Autowired
WxCouponOrderMapper wxCouponOrderMapper;
@Lazy
@Autowired
WxCouponOrderService wxCouponOrderService;
@Lazy
@Autowired
WxCUserService wxCUserService;
@Lazy
@Autowired
WxCUserBasicInfoService wxCUserBasicInfoService;

@@ -128,22 +129,22 @@ public class WxOrderServiceImpl implements WxOrderService {

@Autowired
WxMerchantBUserMapper wxMerchantBUserMapper;
@Lazy
@Autowired
WxAppinfoService wxAppinfoService;
@Lazy
@Autowired
WxPayOrderService wxPayOrderService;
@Lazy
@Autowired
WxScoreRulesService wxScoreRulesService;
@Lazy
@Autowired
WxCUserTagsService wxCUserTagsService;
@Lazy
@Autowired
WxCouponActionLogService wxCouponActionLogService;
@Lazy
@Autowired
WxProfitSharingOrderService wxProfitSharingOrderService;

@@ -152,7 +153,7 @@ public class WxOrderServiceImpl implements WxOrderService {

@Autowired
WxCardInfoMapper wxCardInfoMapper;
@Lazy
@Autowired
WxCouponSendService wxCouponSendService;

@@ -161,7 +162,7 @@ public class WxOrderServiceImpl implements WxOrderService {

@Autowired
WxOrderGroupMapper wxOrderGroupMapper;
@Lazy
@Autowired
WxCreditHistoryService wxCreditHistoryService;

@@ -173,31 +174,32 @@ public class WxOrderServiceImpl implements WxOrderService {

@Autowired
private WxCUserBasicInfoMapper wxCUserBasicInfoMapper;
@Lazy
@Autowired
private WxMsgLimitService wxMsgLimitService;

@Autowired
private WxCouponPasswordMapper couponPasswordMapper;
@Lazy
@Autowired
ExcelService excelService;
@Lazy
@Autowired
WxCouponService wxCouponService;
@Lazy
@Autowired
WxCouponChannelService wxCouponChannelService;
@Autowired
WxBatchOrderMapper wxBatchOrderMapper;
@Lazy
@Autowired
OrderFactory orderFactory;

@Autowired
@Qualifier("couponDetailRedisTemplate")
RedisTemplate<String, WxCouponCVo> cdRedisTemplate;
@Autowired
OrderFactory orderFactory;

@Override
public PageInfo<WxOrder> listAsPage(WxOrder record, Integer pageIndex, Integer pageSize) {


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

@@ -13,6 +13,7 @@ import com.iformall.service.WxParkService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import com.iformall.common.IdWorker;
import org.springframework.transaction.annotation.Transactional;
@@ -23,7 +24,7 @@ public class WxParkServiceImpl implements WxParkService {
@Autowired
WxParkMapper wxParkMapper;
@Lazy
@Autowired
WxMallService wxMallService;



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

@@ -16,6 +16,7 @@ import com.iformall.utils.MaUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import com.iformall.common.IdWorker;

@@ -25,7 +26,7 @@ public class WxPayAccountServiceImpl implements WxPayAccountService {
@Autowired
WxPayAccountMapper wxPayAccountMapper;
@Lazy
@Autowired
WxAppinfoService wxAppinfoService;


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

@@ -24,6 +24,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -49,13 +50,13 @@ public class WxPayBillServiceImpl implements WxPayBillService {

@Autowired
WxBillAllMapper wxBillAllMapper;
@Lazy
@Autowired
WxBillAllService wxBillAllService;

@Autowired
WxMerchantBUserMapper wxMerchantBUserMapper;
@Lazy
@Autowired
private WxBillSettleService wxBillSettleService;



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

@@ -39,6 +39,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.aop.framework.AopContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -49,9 +50,6 @@ import java.util.*;
@Service
public class WxPayOrderServiceImpl implements WxPayOrderService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());

@Autowired
WxPayOrderServiceImpl wxPayOrderServiceImpl;
@Autowired
WxAppinfoMapper wxAppinfoMapper;
@@ -59,6 +57,7 @@ public class WxPayOrderServiceImpl implements WxPayOrderService {
@Autowired
WxCUserBasicInfoMapper wxCUserBasicInfoMapper;

@Lazy
@Autowired
WxCUserService wxCUserService;

@@ -67,7 +66,7 @@ public class WxPayOrderServiceImpl implements WxPayOrderService {

@Autowired
WxOrderMapper wxOrderMapper;
@Lazy
@Autowired
WxOrderService wxOrderService;

@@ -88,13 +87,13 @@ public class WxPayOrderServiceImpl implements WxPayOrderService {

@Autowired
WxProfitSharingReceiverMapper wxProfitSharingReceiverMapper;
@Lazy
@Autowired
WxCouponOrderService wxCouponOrderService;
@Lazy
@Autowired
WxAppinfoService wxAppinfoService;
@Lazy
@Autowired
WxOrderGroupService wxOrderGroupService;

@@ -103,16 +102,16 @@ public class WxPayOrderServiceImpl implements WxPayOrderService {

@Autowired
PosCouponOrderVerifyMapper posCouponOrderVerifyMapper;
@Lazy
@Autowired
PayServiceFactory payServiceFactory;
@Lazy
@Autowired
WxCashOutService cashOutService;
@Autowired
WxBatchOrderMapper wxBatchOrderMapper;
@Lazy
@Autowired
OrderFactory orderFactory;



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

@@ -36,6 +36,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
@@ -78,10 +79,10 @@ public class WxProfitSharingOrderServiceImpl implements WxProfitSharingOrderServ

@Autowired
WxCardSpendMapper wxCardSpendMapper;
@Lazy
@Autowired
PayServiceFactory payServiceFactory;
@Lazy
@Autowired
ExcelService excelService;



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

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

import java.util.Date;
@@ -67,7 +68,7 @@ public class WxProfitSharingReceiverServiceImpl implements WxProfitSharingReceiv
WxMerchantMapper wxMerchantMapper;
@Autowired
private MqBaseProducer mqBaseProducer;
@Lazy
@Autowired
PayServiceFactory payServiceFactory;



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

@@ -10,6 +10,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
@@ -24,46 +25,67 @@ public class WxProjectConfigServiceImpl implements WxProjectConfigService {

@Autowired
WxProjectConfigMapper wxProjectConfigMapper;
@Lazy
@Autowired
WxMallService wxMallService;
@Lazy
@Autowired
WxCouponSendConfigService wxCouponSendConfigService;
@Lazy
@Autowired
WxMallBuildingService wxMallBuildingService;
@Lazy
@Autowired
WxMallFloorService wxMallFloorService;
@Lazy
@Autowired
WxPayAccountService wxPayAccountService;
@Lazy
@Autowired
WxPayAccountBillService wxPayAccountBillService;
@Lazy
@Autowired
WxAppinfoService wxAppinfoService;
@Lazy
@Autowired
WxAuthorizerInfoService wxAuthorizerInfoService;
@Lazy
@Autowired
MallUserInfoService mallUserInfoService;
@Lazy
@Autowired
MallRoleService mallRoleService;
@Lazy
@Autowired
MallUserRoleService mallUserRoleService;
@Lazy
@Autowired
MallPermissionService mallPermissionService;
@Lazy
@Autowired
MallRolePermissionService mallRolePermissionService;
@Lazy
@Autowired
WxMsgConfigService wxMsgConfigService;
@Lazy
@Autowired
WxParkService wxParkService;
@Lazy
@Autowired
WxScoreRulesService wxScoreRulesService;
@Lazy
@Autowired
WxTemplateMsgService wxTemplateMsgService;
@Lazy
@Autowired
WxQuestionService wxQuestionService;
@Lazy
@Autowired
WxMsgValidationcodeModelService wxMsgValidationcodeModelService;
@Lazy
@Autowired
WxFlowService wxFlowService;
@Lazy
@Autowired
MallUserInfoService userInfoService;



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

@@ -22,6 +22,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
@@ -63,16 +64,16 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService

@Autowired
WxRentContractMapper wxRentContractMapper;
@Lazy
@Autowired
WxFlowService wxFlowService;
@Lazy
@Autowired
WxFlowRecordService wxFlowRecordService;
@Lazy
@Autowired
WxRentContractService wxRentContractService;
@Lazy
@Autowired
WxPayAccountBillService wxPayAccountBillService;



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

@@ -20,6 +20,7 @@ import com.iformall.service.WxQuestionOneselfService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -40,7 +41,7 @@ public class WxQuestionOneselfServiceImpl implements WxQuestionOneselfService {

@Autowired
WxCampaignMapper wxCampaignMapper;
@Lazy
@Autowired
WxCampaignService wxCampaignService;



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

@@ -23,6 +23,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -47,10 +48,10 @@ public class WxQuestionOneselfUserServiceImpl implements WxQuestionOneselfUserSe

@Autowired
WxQuestionOneselfTopicMapper wxQuestionOneselfTopicMapper;
@Lazy
@Autowired
WxCreditHistoryService wxCreditHistoryService;
@Lazy
@Autowired
ExcelService excelService;



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

@@ -33,6 +33,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -57,7 +58,7 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService {

@Autowired
WxPayAccountMapper wxPayAccountMapper;
@Lazy
@Autowired
WxOrderService wxOrderService;

@@ -84,7 +85,7 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService {

@Autowired
WxCardInfoMapper cardInfoMapper;
@Lazy
@Autowired
PayServiceFactory payServiceFactory;


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

@@ -34,6 +34,7 @@ import org.joda.time.format.DateTimeFormatter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
@@ -62,7 +63,7 @@ public class WxRentContractServiceImpl implements WxRentContractService {

@Autowired
WxShopMapper wxShopMapper;
@Lazy
@Autowired
WxMerchantService wxMerchantService;

@@ -86,16 +87,16 @@ public class WxRentContractServiceImpl implements WxRentContractService {

@Autowired
WxBrandMapper WxBrandMapper;
@Lazy
@Autowired
WxFlowRecordService wxFlowRecordService;
@Lazy
@Autowired
RuntimeService runtimeService;
@Lazy
@Autowired
private TaskService taskService;
@Lazy
@Autowired
private WxFlowService wxFlowService;

@@ -107,10 +108,10 @@ public class WxRentContractServiceImpl implements WxRentContractService {

@Autowired
WxBillPropertyMapper wxBillPropertyMapper;
@Lazy
@Autowired
WxPropertyContractService wxPropertyContractService;
@Lazy
@Autowired
WxPayAccountBillService wxPayAccountBillService;


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

@@ -24,6 +24,7 @@ import com.iformall.service.WxRentPropertyContractService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;

@@ -44,13 +45,13 @@ public class WxRentPropertyContractServiceImpl implements WxRentPropertyContract

@Autowired
WxPropertyContractMapper wxPropertyContractMapper;
@Lazy
@Autowired
WxPropertyContractService wxPropertyContractService;
@Lazy
@Autowired
WxRentContractService wxRentContractService;
@Lazy
@Autowired
WxFlowRecordService wxFlowRecordService;



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

@@ -20,6 +20,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

@@ -39,15 +40,15 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService {
@Autowired
WxCUserMapper wxCUserMapper;
@Autowired
WxMerchantMapper wxMerchantMapper;
@Lazy
@Autowired
WxCUserService wxCUserService;

@Autowired
@Qualifier("scoreRuleRedisTemplate")
RedisTemplate<String, WxScoreRules> scoreRulesRedisTemplate;

@Autowired
WxMerchantMapper wxMerchantMapper;

@Override
public void wxScoreRulesInit(String tenantId) {
WxScoreRules wxScoreRules = new WxScoreRules();


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

@@ -25,6 +25,7 @@ import me.chanjar.weixin.common.error.WxErrorException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.Date;
@@ -36,13 +37,13 @@ public class WxScreenAdServiceImpl implements WxScreenAdService {

@Autowired
WxScreenAdMapper wxScreenAdMapper;
@Lazy
@Autowired
WxAppinfoService wxAppinfoService;

@Autowired
WxCouponChannelMapper wxCouponChannelMapper;
@Lazy
@Autowired
WxMerchantService wxMerchantService;



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

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

import javax.servlet.http.HttpServletRequest;
@@ -40,7 +41,7 @@ public class WxShopServiceImpl implements WxShopService {

@Autowired
WxMerchantShopMapper wxMerchantShopMapper;
@Lazy
@Autowired
ExcelService excelService;



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

@@ -28,6 +28,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import com.iformall.common.IdWorker;

@@ -45,7 +46,7 @@ public class WxSubsidyServiceImpl implements WxSubsidyService {

@Autowired
WxAppinfoMapper wxAppinfoMapper;
@Lazy
@Autowired
WxAppinfoService wxAppinfoService;



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

@@ -16,6 +16,7 @@ import com.iformall.service.WxTagsTypeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import com.iformall.common.IdWorker;

@@ -25,10 +26,10 @@ public class WxTagsServiceImpl implements WxTagsService {
@Autowired
WxTagsMapper wxTagsMapper;
@Lazy
@Autowired
private WxTagsTypeService wxTagsTypeService;
@Lazy
@Autowired
private WxTagsGroupService wxTagsGroupService;



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

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

import java.util.Date;
@@ -37,12 +38,13 @@ public class WxTemplateMsgServiceImpl implements WxTemplateMsgService {

@Autowired
private boolean isFmOpen;
@Lazy
@Autowired
private WxAppinfoService wxAppinfoService;
@Lazy
@Autowired
private FmOpenService openService;
@Lazy
@Autowired
MaUtil maUtil;



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

@@ -17,6 +17,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@@ -34,7 +35,7 @@ public class WxThirdPartyOrdersServiceImpl implements WxThirdPartyOrdersService
private final Logger logger = LoggerFactory.getLogger(this.getClass());

private static final String THIRD_CIRCLE_KEY = "CIRCLE:TH:";
@Lazy
@Autowired
ExcelService excelService;

@@ -43,19 +44,19 @@ public class WxThirdPartyOrdersServiceImpl implements WxThirdPartyOrdersService

@Autowired
WxThirdPartyOrdersMapper wxThirdPartyOrdersMapper;
@Lazy
@Autowired
WxMerchantService wxMerchantService;
@Lazy
@Autowired
WxCUserService wxCUserService;
@Lazy
@Autowired
WxCUserBasicInfoService wxCUserBasicInfoService;
@Lazy
@Autowired
WxCreditHistoryService wxCreditHistoryService;
@Lazy
@Autowired
WxCouponSendService wxCouponSendService;



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

@@ -24,6 +24,7 @@ import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import com.iformall.common.ResultData;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.Date;
@@ -45,10 +46,10 @@ public class WxTopicServiceImpl implements WxTopicService {

@Autowired
private WxCouponChannelMapper wxCouponChannelMapper;
@Lazy
@Autowired
private QrCodeService qrCodeService;
@Lazy
@Autowired
private WxCouponChannelService wxCouponChannelService;



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

@@ -28,6 +28,7 @@ import com.iformall.utils.JsonUtil;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;

import java.io.Serializable;
import java.util.ArrayList;
@@ -39,6 +40,7 @@ import java.util.stream.Collectors;

public class InvestBaseServiceImpl<M extends BaseMapper<T>, T> extends ServiceImpl<M, T> implements InvestBaseService<T> {

@Lazy
@Autowired
private InvestMessageService messageService;



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

@@ -32,6 +32,7 @@ import org.apache.commons.lang3.ObjectUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -47,34 +48,49 @@ import java.util.function.Function;
@Service
public class InvestBizServiceImpl implements InvestBizService {

@Lazy
@Autowired
private InvestDemandService demandService;
@Lazy
@Autowired
private InvestTaskService taskService;
@Lazy
@Autowired
private InvestFollowRecordService followRecordService;
@Lazy
@Autowired
private InvestOperateRecordService operateRecordService;
@Lazy
@Autowired
private InvestRemindService remindService;
@Lazy
@Autowired
private InvestMessageService messageService;
@Lazy
@Autowired
private WxShopService shopService;
@Lazy
@Autowired
private InvestCustomerService customerService;
@Lazy
@Autowired
private WxBrandService brandService;
@Lazy
@Autowired
private MallUserInfoService userInfoService;
@Lazy
@Autowired
private WxBusinessService businessService;
@Lazy
@Autowired
private WxRentContractService rentContractService;
@Lazy
@Autowired
private ExcelService excelService;

@Autowired
StringRedisTemplate stringRedisTemplate;

@Autowired
private String fmUploadDir;



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

@@ -13,6 +13,7 @@ import com.iformall.service.WxBusinessService;
import com.iformall.service.invest.InvestCustomerService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.io.Serializable;
@@ -25,8 +26,10 @@ import static com.iformall.service.invest.InvestHelper.isTrue;
@Service
public class InvestCustomerServiceImpl extends InvestBaseServiceImpl<InvestCustomerMapper, InvestCustomerEntity> implements InvestCustomerService {

@Lazy
@Autowired
private WxBrandService brandService;
@Lazy
@Autowired
private WxBusinessService businessService ;



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

@@ -10,6 +10,7 @@ import com.iformall.service.WxShopService;
import com.iformall.service.invest.InvestCustomerService;
import com.iformall.service.invest.InvestDemandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.*;
@@ -18,10 +19,13 @@ import java.util.*;
@Service
public class InvestDemandServiceImpl extends InvestBaseServiceImpl<InvestDemandMapper, InvestDemandEntity> implements InvestDemandService {

@Lazy
@Autowired
private WxShopService shopService;
@Lazy
@Autowired
private MallUserInfoService userInfoService;
@Lazy
@Autowired
private InvestCustomerService customerService;



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

@@ -14,6 +14,7 @@ import com.iformall.service.invest.InvestFollowRecordService;
import com.iformall.service.invest.InvestHelper;
import com.iformall.service.invest.InvestTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.Date;
@@ -23,8 +24,10 @@ import java.util.Objects;
@Service
public class InvestFollowRecordServiceImpl extends InvestBaseServiceImpl<InvestFollowRecordMapper, InvestFollowRecordEntity> implements InvestFollowRecordService {

@Lazy
@Autowired
private InvestDemandService demandService ;
@Lazy
@Autowired
private InvestTaskService taskService ;



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

@@ -19,6 +19,7 @@ import org.apache.rocketmq.common.filter.impl.Op;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.*;
@@ -32,9 +33,11 @@ public class KwBoxServiceImpl implements KwBoxService {
@Autowired
KwBoxMapper kwBoxMapper;

@Lazy
@Autowired
KwMeterDataService kwMeterDataService;

@Lazy
@Autowired
KwMeterService kwMeterService;



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

@@ -17,6 +17,7 @@ import com.iformall.service.msg.MsgSendService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.Date;
@@ -30,11 +31,10 @@ import java.util.Date;
public class FmInsideCLoginMsgServiceImpl implements MsgSendService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());

@Lazy
@Autowired
private CUserServiceFactory cuserFactory;

private BasicCUserService basicCUserService;

@Lazy
@Autowired
private WxCUserFromService wxCUserFromService;



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

@@ -8,6 +8,7 @@ import com.iformall.service.msg.MsgSendService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;


@@ -15,6 +16,7 @@ import org.springframework.stereotype.Service;
public class FmInsideCashOutMsgServiceImpl implements MsgSendService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());

@Lazy
@Autowired
private WxCashOutService wxCashOutService;



+ 4
- 2
mallinkService/src/main/java/com/iformall/service/msg/impl/FmInsideCouponVerifyMsgServiceImpl.java Просмотреть файл

@@ -11,6 +11,7 @@ import com.iformall.service.msg.MsgSendService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

/**
@@ -22,12 +23,13 @@ import org.springframework.stereotype.Service;
public class FmInsideCouponVerifyMsgServiceImpl implements MsgSendService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());

@Lazy
@Autowired
private WxCouponOrderService couponOrderService;
@Lazy
@Autowired
private WxMerchantBUserService merchantBUserService;
@Lazy
@Autowired
private WxMerchantService merchantService;



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

@@ -9,6 +9,7 @@ import com.iformall.service.msg.MsgSendService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.Map;
@@ -22,6 +23,7 @@ import java.util.Map;
public class FmInsideNotifyRefundSuccessMsgServiceImpl implements MsgSendService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());

@Lazy
@Autowired
private WxRefundOrderService wxRefundOrderService;



+ 5
- 3
mallinkService/src/main/java/com/iformall/service/msg/impl/FmInsideOrderSuccessMsgServiceImpl.java Просмотреть файл

@@ -16,6 +16,7 @@ import com.iformall.service.msg.MsgSendService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

/**
@@ -27,15 +28,16 @@ import org.springframework.stereotype.Service;
public class FmInsideOrderSuccessMsgServiceImpl implements MsgSendService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());

@Lazy
@Autowired
private WxOrderService orderService;
@Lazy
@Autowired
private WxCUserBasicInfoService userService;
@Lazy
@Autowired
private WxCouponService couponService;
@Lazy
@Autowired
private WxCouponChannelService couponChannelService;



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

@@ -21,6 +21,7 @@ import com.iformall.utils.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import java.util.List;

@@ -37,15 +38,17 @@ public class SendCallBackSmsServiceImpl implements MsgSendService {
private WxMsgValidationcodeModelMapper wxMsgValidationcodeModelMapper;
@Autowired
private WxMsgValidationcodeMapper wxMsgValidationcodeMapper;
@Lazy
@Autowired
private WxMsgValidationcodeService wxMsgValidationcodeService;
@Autowired
private WxMsgModelMapper wxMsgModelMapper;
@Autowired
private WxMsgMapper wxMsgMapper;
@Lazy
@Autowired
private WxMsgService wxMsgService;
@Lazy
@Autowired
private WxMsgLimitService wxMsgLimitService;



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

@@ -17,6 +17,7 @@ import me.chanjar.weixin.mp.bean.template.WxMpTemplateMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
@@ -32,7 +33,7 @@ public class SendMpMsgServiceImpl implements MsgSendService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
private WxTemplateMsgMapper wxTemplateMsgMapper;
@Lazy
@Autowired
private FmOpenService openService;



+ 4
- 2
mallinkService/src/main/java/com/iformall/service/msg/impl/SendSmartAppMsgServiceImpl.java Просмотреть файл

@@ -22,6 +22,7 @@ import me.chanjar.weixin.common.error.WxErrorException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
@@ -40,15 +41,16 @@ public class SendSmartAppMsgServiceImpl implements MsgSendService {
private boolean isFmOpen;
@Autowired
private WxTemplateMsgMapper wxTemplateMsgMapper;
@Lazy
@Autowired
private WxAppinfoService wxAppinfoService;
@Lazy
@Autowired
private FmOpenService openService;

@Autowired
private WxCUserMapper wxCUserMapper;
@Lazy
@Autowired
MaUtil maUtil;



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

@@ -22,6 +22,7 @@ import org.apache.commons.collections.CollectionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.List;
@@ -41,6 +42,7 @@ public class SendSmsServiceImpl implements MsgSendService {
private WxMsgValidationcodeModelMapper wxMsgValidationcodeModelMapper;
@Autowired
private WxMsgValidationcodeMapper wxMsgValidationcodeMapper;
@Lazy
@Autowired
private WxMsgValidationcodeService wxMsgValidationcodeService;



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

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

import java.util.ArrayList;
@@ -39,7 +40,7 @@ public class SendWeappUniformMsgServiceImpl implements MsgSendService {

@Autowired
private WxTemplateMsgMapper wxTemplateMsgMapper;
@Lazy
@Autowired
private FmOpenService openService;



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

@@ -3,6 +3,7 @@ package com.iformall.service.msg.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import com.iformall.domain.po.msg.BaseMsg;
@@ -18,7 +19,7 @@ import com.iformall.service.msg.MsgSendService;
@Service
public class UpdateCouponStockMsgServiceImpl implements MsgSendService {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
@Lazy
@Autowired
private WxCouponService wxCouponService;



+ 5
- 3
mallinkService/src/main/java/com/iformall/service/order/OrderFactory.java Просмотреть файл

@@ -1,6 +1,7 @@
package com.iformall.service.order;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import com.iformall.enums.EnumComposeOrder;
@@ -12,15 +13,16 @@ import com.iformall.service.order.impl.batch.OneNumberOneOrderBatchOrderAdapterS
@Service
public class OrderFactory {

@Lazy
@Autowired
OneNumberOneOrderBatchOrderAdapterService oneNumberOneOrderBatchOrderAdapterService;
@Lazy
@Autowired
MulityNumberOneOrderBatchOrderAdapterService mulityNumberOneOrderBatchOrderAdapterService;
@Lazy
@Autowired
SingleOrderAdapterService singleOrderAdapterService;
@Lazy
@Autowired
CouponPackageOrderAdapterService couponPackageOrderAdapterService;


Некоторые файлы не были показаны из-за большого количества измененных файлов

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