循环引用问题

20230922-ljl-fixBug
daixiaogang 1 year ago
parent 48733fe8af
commit 074db939f3

@ -136,7 +136,9 @@ public class OpOrderServiceImpl implements OpOrderService {
private final RedisTemplate<String, String> redisTemplate;
private final OrderPrintService orderPrintService;
@Lazy
@Autowired
private OrderPrintService orderPrintService;
private final OpOrderEncryptIndexMapper opOrderEncryptIndexMapper;

@ -31,26 +31,34 @@ import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Service
@AllArgsConstructor
public class OrderPrintServiceImpl implements OrderPrintService {
private final OpOrderChildMapper opOrderChildMapper;
@Autowired
private OpOrderChildMapper opOrderChildMapper;
private final OpOrderChildAfterSaleMapper opOrderChildAfterSaleMapper;
@Autowired
private OpOrderChildAfterSaleMapper opOrderChildAfterSaleMapper;
private final ProductMapper productMapper;
@Autowired
private ProductMapper productMapper;
private final OpOrderExtMapper opOrderExtMapper;
@Autowired
private OpOrderExtMapper opOrderExtMapper;
private final OpOrderSensitiveMapper opOrderSensitiveMapper;
@Autowired
private OpOrderSensitiveMapper opOrderSensitiveMapper;
private final OpOrderDsMapper opOrderDsMapper;
@Autowired
private OpOrderDsMapper opOrderDsMapper;
private final OpLogisticsPlatformMapper opLogisticsPlatformMapper;
@Autowired
private OpLogisticsPlatformMapper opLogisticsPlatformMapper;
private final OpLogisticsMapper opLogisticsMapper;
@Autowired
private OpLogisticsMapper opLogisticsMapper;
private final RedisTemplate<String, String> redisTemplate;
@Autowired
private RedisTemplate<String, String> redisTemplate;
@Lazy
@Autowired

Loading…
Cancel
Save