启动类添加注解
parent
212c4d8887
commit
5781cf2684
|
@ -2,6 +2,7 @@ package com.muyu.cloud.pay.service.impl;
|
|||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.dtflys.forest.springboot.annotation.ForestScannerRegister;
|
||||
import com.muyu.cloud.pay.domain.OrderPayCustomer;
|
||||
import com.muyu.cloud.pay.domain.req.CustomerListReq;
|
||||
import com.muyu.cloud.pay.domain.resp.CustomerListResp;
|
||||
|
@ -9,10 +10,10 @@ import com.muyu.cloud.pay.mapper.OrderPayCustomerMapper;
|
|||
import com.muyu.cloud.pay.service.OrderPayCustomerService;
|
||||
import com.muyu.common.core.utils.StringUtils;
|
||||
import com.muyu.nacos.service.NacosServerService;
|
||||
import lombok.extern.log4j.Log4j2;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
@ -25,7 +26,9 @@ import java.util.stream.Collectors;
|
|||
* @name:OrderPayCustomerServiceImpl
|
||||
* @Date:2024/7/31 20:03
|
||||
*/
|
||||
|
||||
@Service
|
||||
@Log4j2
|
||||
public class OrderPayCustomerServiceImpl
|
||||
extends ServiceImpl<OrderPayCustomerMapper, OrderPayCustomer>
|
||||
implements OrderPayCustomerService {
|
||||
|
@ -34,8 +37,12 @@ public class OrderPayCustomerServiceImpl
|
|||
@Autowired
|
||||
private NacosServerService nacosServerService;
|
||||
|
||||
|
||||
|
||||
public OrderPayCustomerServiceImpl() {
|
||||
List<String> basePackages = ForestScannerRegister.getBasePackages();
|
||||
for (String basePackage : basePackages) {
|
||||
log.info("===>"+basePackage);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CustomerListResp> selectList(CustomerListReq req) {
|
||||
|
|
Loading…
Reference in New Issue