| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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 | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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)); | |||
| @@ -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)); | |||
| @@ -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)); | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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)); | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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 | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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 | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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 | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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) { | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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) { | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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(); | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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 ; | |||
| @@ -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; | |||
| @@ -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 ; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||
| @@ -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; | |||