统一 JDK8 和 JDK21 相关代码

This commit is contained in:
YunaiV 2024-01-19 12:43:14 +08:00
parent a6ef21b1b7
commit 7f1ebb35cb

View File

@ -9,13 +9,13 @@ import cn.iocoder.yudao.module.product.dal.dataobject.comment.ProductCommentDO;
import cn.iocoder.yudao.module.product.dal.mysql.comment.ProductCommentMapper;
import cn.iocoder.yudao.module.product.service.sku.ProductSkuService;
import cn.iocoder.yudao.module.product.service.spu.ProductSpuService;
import jakarta.annotation.Resource;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.Lazy;
import javax.annotation.Resource;
import java.util.Date;
import static cn.iocoder.yudao.framework.test.core.util.AssertUtils.assertPojoEquals;