|
|
@@ -397,12 +397,16 @@
|
|
|
hr.requirement_code as "requirementCode",
|
|
|
hi.invoice_category_name as "invoiceCategoryName",
|
|
|
(select count(b.id) from hlw_payment_detail b where b.payment_id=a.id) as "paymentNumber",
|
|
|
- com.company_code AS "companyCode"
|
|
|
+ com.company_code AS "companyCode",
|
|
|
+ hsc.check_file AS "checkFile",
|
|
|
+ has.file_path_prefix as "filePathPrefix"
|
|
|
FROM hlw_payment a
|
|
|
<include refid="hlwPaymentJoins"/>
|
|
|
left join hlw_order ho on ho.id = pd.order_id
|
|
|
left join hlw_requirement hr on hr.id = ho.requirement_id
|
|
|
left join hlw_invoice_category hi on hi.id=hr.invoice_category_id
|
|
|
+ left join hlw_service_check hsc on hsc.id = a.service_check_id
|
|
|
+ left join hlw_application_setting has on has.id = a.application_id
|
|
|
<where>
|
|
|
a.del_flag = 0
|
|
|
and a.application_id = #{applicationId}
|