记得上下班打卡 | git大法好,push需谨慎

Commit 83f660b6 authored by jiangxiulong's avatar jiangxiulong

注解

parent c31e2daa
...@@ -21,6 +21,7 @@ import com.liquidnet.service.sweet.utils.QueueUtils; ...@@ -21,6 +21,7 @@ import com.liquidnet.service.sweet.utils.QueueUtils;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
...@@ -45,6 +46,7 @@ public class SweetAppletSubMsgServiceImpl extends ServiceImpl<SweetAppletSubMsgM ...@@ -45,6 +46,7 @@ public class SweetAppletSubMsgServiceImpl extends ServiceImpl<SweetAppletSubMsgM
private SweetAppletSubMsgMapper subMsgMapper; private SweetAppletSubMsgMapper subMsgMapper;
@Autowired @Autowired
@Lazy
private FeignKylinPerformancesClient feignKylinPerformancesClient; private FeignKylinPerformancesClient feignKylinPerformancesClient;
@Autowired @Autowired
......
...@@ -24,6 +24,7 @@ import me.chanjar.weixin.common.bean.WxOAuth2UserInfo; ...@@ -24,6 +24,7 @@ import me.chanjar.weixin.common.bean.WxOAuth2UserInfo;
import me.chanjar.weixin.common.bean.oauth2.WxOAuth2AccessToken; import me.chanjar.weixin.common.bean.oauth2.WxOAuth2AccessToken;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.time.LocalDateTime; import java.time.LocalDateTime;
...@@ -54,6 +55,7 @@ public class SweetWechatLoginServiceImpl { ...@@ -54,6 +55,7 @@ public class SweetWechatLoginServiceImpl {
private WechatUsersRedisUtils redisUtils; private WechatUsersRedisUtils redisUtils;
@Autowired @Autowired
@Lazy
private FeignAdamBaseClient feignAdamBaseClient; private FeignAdamBaseClient feignAdamBaseClient;
public ResponseDto userInfo(String code, String encryptedData, String iv, Integer type) { public ResponseDto userInfo(String code, String encryptedData, String iv, Integer type) {
......
...@@ -26,6 +26,7 @@ import me.chanjar.weixin.mp.bean.template.WxMpTemplateData; ...@@ -26,6 +26,7 @@ import me.chanjar.weixin.mp.bean.template.WxMpTemplateData;
import me.chanjar.weixin.mp.bean.template.WxMpTemplateMessage; import me.chanjar.weixin.mp.bean.template.WxMpTemplateMessage;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils; import org.springframework.util.CollectionUtils;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
...@@ -63,6 +64,7 @@ public class SweetWechatTemplateServiceImpl { ...@@ -63,6 +64,7 @@ public class SweetWechatTemplateServiceImpl {
@Autowired @Autowired
private SweetRemindMapper sweetRemindMapper; private SweetRemindMapper sweetRemindMapper;
@Autowired @Autowired
@Lazy
private FeignKylinPerformancesClient feignKylinPerformancesClient; private FeignKylinPerformancesClient feignKylinPerformancesClient;
@Autowired @Autowired
......
...@@ -11,6 +11,7 @@ import com.liquidnet.service.sweet.vo.SweetAppletUsersVo; ...@@ -11,6 +11,7 @@ import com.liquidnet.service.sweet.vo.SweetAppletUsersVo;
import com.liquidnet.service.sweet.vo.SweetWechatUsersVo; import com.liquidnet.service.sweet.vo.SweetWechatUsersVo;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.HashMap; import java.util.HashMap;
...@@ -28,6 +29,7 @@ import java.util.HashMap; ...@@ -28,6 +29,7 @@ import java.util.HashMap;
public class SweetWechatUsersServiceImpl extends ServiceImpl<SweetWechatUsersMapper, SweetWechatUsers> implements ISweetWechatUsersService { public class SweetWechatUsersServiceImpl extends ServiceImpl<SweetWechatUsersMapper, SweetWechatUsers> implements ISweetWechatUsersService {
@Autowired @Autowired
@Lazy
private FeignStoneIntegralClient feignStoneIntegralClient; private FeignStoneIntegralClient feignStoneIntegralClient;
@Autowired @Autowired
......
...@@ -22,6 +22,7 @@ import com.liquidnet.service.sweet.param.SweetCityVoteParam; ...@@ -22,6 +22,7 @@ import com.liquidnet.service.sweet.param.SweetCityVoteParam;
import com.liquidnet.service.sweet.vo.*; import com.liquidnet.service.sweet.vo.*;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import java.time.LocalDateTime; import java.time.LocalDateTime;
...@@ -52,6 +53,7 @@ public class RedisDataUtils { ...@@ -52,6 +53,7 @@ public class RedisDataUtils {
@Autowired @Autowired
private SweetArtistsMapper sweetArtistsMapper; private SweetArtistsMapper sweetArtistsMapper;
@Autowired @Autowired
@Lazy
private FeignSlimeApiClient feignSlimeApiClient; private FeignSlimeApiClient feignSlimeApiClient;
public List<SweetManualAppletDto> setPushList() { public List<SweetManualAppletDto> setPushList() {
......
...@@ -20,6 +20,7 @@ import com.liquidnet.service.sweet.entity.SweetRichtextFive; ...@@ -20,6 +20,7 @@ import com.liquidnet.service.sweet.entity.SweetRichtextFive;
import com.liquidnet.service.sweet.mapper.*; import com.liquidnet.service.sweet.mapper.*;
import com.liquidnet.service.sweet.vo.SweetArtistsRelationVo; import com.liquidnet.service.sweet.vo.SweetArtistsRelationVo;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import java.time.LocalDateTime; import java.time.LocalDateTime;
...@@ -48,6 +49,7 @@ public class RedisFiveDataUtils { ...@@ -48,6 +49,7 @@ public class RedisFiveDataUtils {
@Autowired @Autowired
private SweetArtistsMapper sweetArtistsMapper; private SweetArtistsMapper sweetArtistsMapper;
@Autowired @Autowired
@Lazy
private FeignSlimeApiClient feignSlimeApiClient; private FeignSlimeApiClient feignSlimeApiClient;
public List<SweetManualAppletFiveDto> setPushList() { public List<SweetManualAppletFiveDto> setPushList() {
......
...@@ -14,6 +14,7 @@ import com.liquidnet.service.sweet.entity.*; ...@@ -14,6 +14,7 @@ import com.liquidnet.service.sweet.entity.*;
import com.liquidnet.service.sweet.mapper.*; import com.liquidnet.service.sweet.mapper.*;
import com.liquidnet.service.sweet.vo.SweetArtistsRelationVo; import com.liquidnet.service.sweet.vo.SweetArtistsRelationVo;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import java.time.LocalDateTime; import java.time.LocalDateTime;
...@@ -42,6 +43,7 @@ public class RedisMDSKDataUtils { ...@@ -42,6 +43,7 @@ public class RedisMDSKDataUtils {
@Autowired @Autowired
private SweetArtistsMapper sweetArtistsMapper; private SweetArtistsMapper sweetArtistsMapper;
@Autowired @Autowired
@Lazy
private FeignSlimeApiClient feignSlimeApiClient; private FeignSlimeApiClient feignSlimeApiClient;
public List<SweetManualAppletMDSKDto> setPushList() { public List<SweetManualAppletMDSKDto> setPushList() {
......
...@@ -17,6 +17,7 @@ import com.liquidnet.service.sweet.entity.SweetRichtextTfc; ...@@ -17,6 +17,7 @@ import com.liquidnet.service.sweet.entity.SweetRichtextTfc;
import com.liquidnet.service.sweet.mapper.*; import com.liquidnet.service.sweet.mapper.*;
import com.liquidnet.service.sweet.vo.SweetArtistsRelationVo; import com.liquidnet.service.sweet.vo.SweetArtistsRelationVo;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import java.time.LocalDateTime; import java.time.LocalDateTime;
...@@ -43,6 +44,7 @@ public class RedisTFCDataUtils { ...@@ -43,6 +44,7 @@ public class RedisTFCDataUtils {
@Autowired @Autowired
private SweetManualShopTfcMapper sweetManualShopTFCMapper; private SweetManualShopTfcMapper sweetManualShopTFCMapper;
@Autowired @Autowired
@Lazy
private FeignSlimeApiClient feignSlimeApiClient; private FeignSlimeApiClient feignSlimeApiClient;
public List<SweetManualAppletTFCDto> setPushList() { public List<SweetManualAppletTFCDto> setPushList() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment