//package com.mcli;
//
//import com.mcli.com.mcli.rongzhi.repository.dao.mutual.McAuthorizationDao;
//import com.mcli.com.mcli.rongzhi.repository.entity.mutual.McAuthorizationDTO;
//import lombok.extern.slf4j.Slf4j;
//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.annotation.Rollback;
//import org.springframework.test.context.junit4.SpringRunner;
//
//import javax.transaction.Transactional;
//
//@Slf4j
//@Transactional
//@RunWith(SpringRunner.class)
//@SpringBootTest(classes = Boot.class)
//public class JpaTest {
//
//    @Autowired
//    private McAuthorizationDao useAuthDao;
//
//    @Test
//    @Rollback(false)
//    public void initSystemToken() {
//
////        log.info("查询token, {}", useAuthDao.findByAppType("APP_TGNBNDTLX5EYOKAZIM2E"));
//        McAuthorizationDTO useAuthDo = new McAuthorizationDTO();
//        useAuthDo.setAppType("APP_TGNBNDTLX5EYOKAZIM2E");
//        useAuthDo.setSystemToken("1K766GD12Q7WCB0M250ZH428F55O37N1IL7XKU1");
//        useAuthDo.setAppName("能力馆 4.0");
//        useAuthDo.setCorpId("dingebe19bcf228f85ec35c2f4657eb6378f");
//        useAuthDo.setCorpName("上海致拓");
//        useAuthDo.setUserId("095358016621619612");
//        useAuthDo.setUserName("燕江");
//        useAuthDo.setDeptId("447396156");
//        useAuthDo.setDeptName("业务运营部");
//        useAuthDao.save(useAuthDo);
//    }
//}
