钱智社保报表问题
This commit is contained in:
parent
0c6015c1c3
commit
b908d1e7c4
|
|
@ -1813,9 +1813,8 @@
|
|||
, b.total as b_total
|
||||
|
||||
from
|
||||
(select * from hrsa_bill_detail where delete_type = 0 and payment_status=0) a
|
||||
left join (select * from hrsa_bill_detail where delete_type = 0 and payment_status=1) b on a.employee_id = b.employee_id
|
||||
where a.payment_organization = #{paymentOrganization} and a.bill_month = #{billMonth}
|
||||
(select * from hrsa_bill_detail where delete_type = 0 and payment_status=0 and payment_organization = #{paymentOrganization} and bill_month = #{billMonth}) a
|
||||
left join (select * from hrsa_bill_detail where delete_type = 0 and payment_status=1 and payment_organization = #{paymentOrganization} and bill_month = #{billMonth}) b on a.employee_id = b.employee_id
|
||||
|
||||
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue