|
@@ -48,7 +48,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
SELECT DISTINCT report_id,report_name FROM `rpt_data_config`) a
|
|
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
|
|
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
|
|
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">
|