package com.xhpc.pp.mapper;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * program: ruoyi
 * User: HongYun
 * Date:2021-09-14 17
 */
@SpringBootTest
public class NormalTest {

    @Autowired
    private XhpcMessageMapper xhpcMessageMapper;


    @Test
    public void test02(){
        System.out.println("hello world!!");
    }

    @Test
    public void test03(){

//        XhpcMessage xhpcMessage = new XhpcMessage();
//        xhpcMessage.setContent("hello world");
//        int result = xhpcMessageMapper.insertItemsBy(xhpcMessage);
//        if(result != 0){
//            System.out.println("insert successfully!!");
//        }else {
//            System.out.println("insert failed!!");
//        }
//        System.out.println("latch  successfully!!");
    }

}
