|
@@ -379,7 +379,7 @@
|
|
|
(case when a.type = '1' then (select pr.is_pre_invoice from cw_project_records pr where pr.id = a.program_id)
|
|
|
else '' end ) as isPreInvoice,
|
|
|
(case when a.type = '1' then
|
|
|
- (select is_complete_invoice from cw_project_report pr where pr.project_id = a.program_id)
|
|
|
+ (select SUBSTR(GROUP_CONCAT( pr.is_complete_invoice),1,1 ) from cw_project_report pr where pr.project_id = a.program_id)
|
|
|
else '' end) as isCompleteInvoice
|
|
|
from cw_finance_invoice_base a
|
|
|
left join cw_finance_invoice fi on a.invoice_id = fi.id
|