package com.hzya.frame.plugin.lets.util;

import com.alibaba.fastjson.JSON;
import com.hzya.frame.WebappApplication;
import com.hzya.frame.plugin.lets.entity.BdRdclEntity;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import static org.junit.Assert.*;

/**
 * @Author：liuyang
 * @Package：com.hzya.frame.plugin.lets.util
 * @Project：kangarooDataCenterV3
 * @name：RdclUtilTest
 * @Date：2024/8/21 15:16
 * @Filename：RdclUtilTest
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = WebappApplication.class)
public class RdclUtilTest {

    @Autowired
    private RdclUtil rdclUtil;

    @Test
    public void queryRdClObject() {
        BdRdclEntity bdRdclEntity = rdclUtil.queryRdClObject("203");
        System.out.println(JSON.toJSONString(bdRdclEntity));
    }
}