| 
					
				 | 
			
			
				@@ -33,7 +33,7 @@ public class MybatisGeneratorUtils { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         projectPath+="/"+model; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         gc.setOutputDir(projectPath+ "/src/main/java");  //生成路径(一般都是生成在此项目的src/main/java下面) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //修改为自己的名字 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        gc.setAuthor("han"); //设置作者 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        gc.setAuthor("fu"); //设置作者 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         gc.setOpen(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         gc.setFileOverride(true); //第二次生成会把第一次生成的覆盖掉 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         gc.setServiceName("%sService"); //生成的service接口名字首字母是否为I,这样设置就没有 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -43,7 +43,7 @@ public class MybatisGeneratorUtils { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //2、数据源配置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //修改数据源 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         DataSourceConfig dsc = new DataSourceConfig(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        dsc.setUrl("jdbc:mysql://192.168.123.165:3306/usky-cloud?useUnicode=true&serverTimezone=GMT&useSSL=false&characterEncoding=utf8"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        dsc.setUrl("jdbc:mysql://192.168.10.165:3306/usky-cloud?useUnicode=true&serverTimezone=GMT&useSSL=false&characterEncoding=utf8"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         dsc.setDriverName("com.mysql.jdbc.Driver"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         dsc.setUsername("root"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         dsc.setPassword("yt123456"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -71,7 +71,7 @@ public class MybatisGeneratorUtils { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // strategy.setTablePrefix("t_"); // 表名前缀 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         strategy.setEntityLombokModel(true); //使用lombok 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //修改自己想要生成的表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        strategy.setInclude("vc_stream");  // 逆向工程使用的表   如果要生成多个,这里可以传入String[] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        strategy.setInclude("pm_time_conf");  // 逆向工程使用的表   如果要生成多个,这里可以传入String[] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         mpg.setStrategy(strategy); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 关闭默认 xml 生成,调整生成 至 根目录 
			 |