package com.yunyan.web;

import com.yunyan.business.service.IFinalDataService;
import com.yunyan.business.service.IFinalDataUpdateDataService;
import com.yunyan.business.service.IPurchaseDataService;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit.jupiter.SpringExtension;

@Slf4j
@ExtendWith(SpringExtension.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
class PurchaseDataServiceTest {

    @Autowired
    private IPurchaseDataService purchaseDataService;


    @Test
    void initLastValue() {
        purchaseDataService.initLastValue("天等", "2024");
    }



}
