mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 02:08:43 +08:00 
			
		
		
		
	梳理代码生成器的配置
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| package cn.iocoder.dashboard.modules.tool.dal.mysql.coegen; | ||||
|  | ||||
| import cn.iocoder.dashboard.TestApplication; | ||||
| import cn.iocoder.dashboard.modules.tool.dal.dataobject.codegen.ToolInformationSchemaColumnDO; | ||||
| import cn.iocoder.dashboard.modules.tool.dal.dataobject.codegen.ToolSchemaColumnDO; | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.springframework.boot.test.context.SpringBootTest; | ||||
|  | ||||
| @@ -15,11 +15,11 @@ import static org.junit.jupiter.api.Assertions.assertTrue; | ||||
| public class ToolInformationSchemaColumnMapperTest { | ||||
|  | ||||
|     @Resource | ||||
|     private ToolInformationSchemaColumnMapper toolInformationSchemaColumnMapper; | ||||
|     private ToolSchemaColumnMapper toolInformationSchemaColumnMapper; | ||||
|  | ||||
|     @Test | ||||
|     public void testSelectListByTableName() { | ||||
|         List<ToolInformationSchemaColumnDO> columns = toolInformationSchemaColumnMapper | ||||
|         List<ToolSchemaColumnDO> columns = toolInformationSchemaColumnMapper | ||||
|                 .selectListByTableName("inf_config"); | ||||
|         assertTrue(columns.size() > 0); | ||||
|     } | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| package cn.iocoder.dashboard.modules.tool.dal.mysql.coegen; | ||||
|  | ||||
| import cn.iocoder.dashboard.TestApplication; | ||||
| import cn.iocoder.dashboard.modules.tool.dal.dataobject.codegen.ToolInformationSchemaTableDO; | ||||
| import cn.iocoder.dashboard.modules.tool.dal.dataobject.codegen.ToolSchemaTableDO; | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.springframework.boot.test.context.SpringBootTest; | ||||
|  | ||||
| @@ -14,11 +14,11 @@ import static org.junit.jupiter.api.Assertions.assertTrue; | ||||
| class ToolInformationSchemaTableMapperTest { | ||||
|  | ||||
|     @Resource | ||||
|     private ToolInformationSchemaTableMapper toolInformationSchemaTableMapper; | ||||
|     private ToolSchemaTableMapper toolInformationSchemaTableMapper; | ||||
|  | ||||
|     @Test | ||||
|     public void tstSelectListByTableSchema() { | ||||
|         List<ToolInformationSchemaTableDO> tables = toolInformationSchemaTableMapper | ||||
|         List<ToolSchemaTableDO> tables = toolInformationSchemaTableMapper | ||||
|                 .selectListByTableSchema("ruoyi-vue-pro"); | ||||
|         assertTrue(tables.size() > 0); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV