mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-10-31 18:49:06 +08:00 
			
		
		
		
	| @ -206,7 +206,7 @@ public class CodegenServiceImpl implements CodegenService { | |||||||
|     public Map<String, String> generationCodes(Long tableId) { |     public Map<String, String> generationCodes(Long tableId) { | ||||||
|         // 校验是否已经存在 |         // 校验是否已经存在 | ||||||
|         CodegenTableDO table = codegenTableMapper.selectById(tableId); |         CodegenTableDO table = codegenTableMapper.selectById(tableId); | ||||||
|         if (codegenTableMapper.selectById(tableId) == null) { |         if (table == null) { | ||||||
|             throw exception(CODEGEN_TABLE_NOT_EXISTS); |             throw exception(CODEGEN_TABLE_NOT_EXISTS); | ||||||
|         } |         } | ||||||
|         List<CodegenColumnDO> columns = codegenColumnMapper.selectListByTableId(tableId); |         List<CodegenColumnDO> columns = codegenColumnMapper.selectListByTableId(tableId); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 芋道源码
					芋道源码