You've already forked FrameTour-BE
feat(config): 添加Mybatis Plus分页插件和Mapper扫描配置
All checks were successful
ZhenTu-BE/pipeline/head This commit looks good
All checks were successful
ZhenTu-BE/pipeline/head This commit looks good
- 配置MybatisPlusInterceptor分页插件 - 添加@MapperScan注解扫描多个mapper包 - 为多个service注入添加@Lazy注解解决循环依赖 - 在VoucherServiceImpl和PuzzleGenerateServiceImpl中启用懒加载 - 优化订单服务中的依赖注入配置
This commit is contained in:
@@ -18,6 +18,7 @@ import com.ycwl.basic.pricing.entity.PriceVoucherUsageRecord;
|
||||
import com.ycwl.basic.pricing.service.IVoucherService;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
@@ -60,6 +61,7 @@ import java.util.stream.Collectors;
|
||||
*/
|
||||
@Slf4j
|
||||
@Service
|
||||
@Lazy
|
||||
@RequiredArgsConstructor
|
||||
public class VoucherServiceImpl implements IVoucherService {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user