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

Commit 83f660b6 authored by jiangxiulong's avatar jiangxiulong

注解

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