//package com.jay.monitor.data.server.daos;
//
//import com.jay.monitor.data.server.MonitorServerApplication;
//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 java.util.ArrayList;
//import java.util.List;
//
///**
// * @Module TODO
// * @Description TODO
// * @Author liukaixiong
// * @Date 2020/11/10 10:57
// */
//@RunWith(SpringRunner.class)
//@SpringBootTest(classes = {MonitorServerApplication.class})
//public class JayMonitorMqLogMapperExtTest {
//    @Autowired
//    private JayMonitorMqLogMapperExt jayMonitorMqLogMapperExt;
//
//    @Test
//    public void batchInsert() {
//        List<JayMonitorMqLog> monitorMqs = new ArrayList<>();
//        JayMonitorMqLog jq = new JayMonitorMqLog();
//        for (int i = 0; i < 10; i++) {
//            JayMonitorMqLog jayMonitorMq = new JayMonitorMqLog();
//            jayMonitorMq.setLogId("aaa");
//            jayMonitorMq.setRootLogId("test");
//            jayMonitorMq.setLogText("1231231");
//            monitorMqs.add(jayMonitorMq);
//            jq.setMonitorId(jayMonitorMq.getId());
//        }
//        jayMonitorMqLogMapperExt.batchInsert(monitorMqs);
//        System.out.println("=======");
//    }
//}