@@ -371,6 +371,9 @@
<if test="hlwSubcontractorAccountFlow.invoiceStatus ==1">
and hpi.id is not null and a.invoice_id is null
</if>
+ <if test="hlwSubcontractorAccountFlow.invoiceStatus ==2">
+ and a.invoice_id is not null
+ </if>
</where>
group by a.id