package com.gxzc.zen import com.gxzc.zen.base.BaseTestKt import org.junit.Test import org.springframework.beans.factory.annotation.Autowired /** * * @author NorthLan * @date 2018/1/26 * @url https://noahlan.com */ class Test: BaseTestKt() { @Autowired private lateinit var iSysDicService: ISysDicService @Test fun test(){ val sysDic = SysDic().also { it.key = "haha" it.value = "hehe" it.sort = Integer(1) } iSysDicService.insert(sysDic) } }