| 
															
																@@ -43,7 +43,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     </select> 
															 | 
															
															 | 
															
																     </select> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																     <select id="selectDistinctRptDataConfigList" parameterType="RptDataConfig" resultMap="RptDataConfigResult"> 
															 | 
															
															 | 
															
																     <select id="selectDistinctRptDataConfigList" parameterType="RptDataConfig" resultMap="RptDataConfigResult"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        select distinct report_id, report_name from rpt_data_config order by report_data_num asc 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        select a.report_id,report_name 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        from ( 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                 SELECT DISTINCT report_id,report_name FROM `rpt_data_config`) a 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                 join ( select report_id,count(1) as num from rpt_data_config where report_data_source='0' GROUP BY report_id) b on a.report_id=b.report_id 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        where num>0 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        order by report_data_num asc 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     </select> 
															 | 
															
															 | 
															
																     </select> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																     <select id="selectRptDataConfigById" parameterType="Long" resultMap="RptDataConfigResult"> 
															 | 
															
															 | 
															
																     <select id="selectRptDataConfigById" parameterType="Long" resultMap="RptDataConfigResult"> 
															 |