package com.cpop.mall.web;

import com.alibaba.fastjson.JSONArray;
import com.mybatisflex.core.row.DbChain;
import com.mybatisflex.core.row.Row;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

/**
 * @author DB
 * @version 1.0.0
 * @since 2024-01-24 16:34
 */
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class CpopMiniUserSyncTests {

    @Test
    public void syncMiniUser() {
        List<Row> list = DbChain.table("cp_mini_user").from("cp_mini_user").list();
        System.out.println(JSONArray.toJSONString(list));
    }
}
