|
@@ -16,13 +16,14 @@ import com.chelvc.cloud.vehicle.server.service.OmsOrderService;
|
|
|
import com.chelvc.framework.common.exception.ResourceUnavailableException;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
@Service
|
|
|
-@RequiredArgsConstructor(onConstructor = @__(@Autowired))
|
|
|
+@RequiredArgsConstructor(onConstructor = @__({@Autowired,@Lazy}))
|
|
|
public class AssetServiceImpl extends ServiceImpl<AssetMapper, Asset> implements AssetService {
|
|
|
private final BalanceDetailService balanceDetailService;
|
|
|
private final OmsOrderService orderService;
|