|
@@ -248,7 +248,7 @@
|
|
select count(1)
|
|
select count(1)
|
|
from mo_email_file_info a
|
|
from mo_email_file_info a
|
|
join mo_report_base_info b on b.file_id = a.id and b.report_type in ('MONTHLY', 'QUARTERLY', 'ANNUALLY')
|
|
join mo_report_base_info b on b.file_id = a.id and b.report_type in ('MONTHLY', 'QUARTERLY', 'ANNUALLY')
|
|
- join mo_report_fund_info c on a.id = c.file_id and c.fund_name is not null
|
|
|
|
|
|
+ join mo_report_fund_info c on a.id = c.file_id and (c.fund_name is not null or c.fund_code is not null)
|
|
where a.file_name = #{filename}
|
|
where a.file_name = #{filename}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -256,7 +256,7 @@
|
|
select count(1)
|
|
select count(1)
|
|
from mo_email_file_info a
|
|
from mo_email_file_info a
|
|
join mo_report_base_info b on b.file_id = a.id and b.report_type = 'WEEKLY'
|
|
join mo_report_base_info b on b.file_id = a.id and b.report_type = 'WEEKLY'
|
|
- join mo_report_fund_info c on a.id = c.file_id and c.fund_name is not null
|
|
|
|
|
|
+ join mo_report_fund_info c on a.id = c.file_id and (c.fund_name is not null or c.fund_code is not null)
|
|
where a.file_name = #{filename}
|
|
where a.file_name = #{filename}
|
|
</select>
|
|
</select>
|
|
|
|
|