|
|
@@ -857,7 +857,7 @@
|
|
|
left join building_room br on pf.payer_obj_id = br.room_id and pf.payer_obj_type = '3333' and br.status_cd = '0'
|
|
|
left join building_unit bu on br.unit_id = bu.unit_id and bu.status_cd = '0'
|
|
|
left join f_floor f on bu.floor_id = f.floor_id and f.status_cd = '0'
|
|
|
- left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.status_cd = '0'
|
|
|
+ left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.status_cd = '0' and oc.car_type_cd='1001'
|
|
|
left join pay_fee_attrs pfa on t.fee_id = pfa.fee_id and pfa.spec_cd = '390002'
|
|
|
left join pay_fee_detail_discount pfdd on t.detail_id = pfdd.detail_id and pfdd.status_cd = '0'
|
|
|
left join fee_discount fd on pfdd.discount_id = fd.discount_id and fd.status_cd = '0'
|
|
|
@@ -923,7 +923,7 @@
|
|
|
left join building_room br on pf.payer_obj_id = br.room_id and pf.payer_obj_type = '3333' and br.status_cd = '0'
|
|
|
left join building_unit bu on br.unit_id = bu.unit_id and bu.status_cd = '0'
|
|
|
left join f_floor f on bu.floor_id = f.floor_id and f.status_cd = '0'
|
|
|
- left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.status_cd = '0'
|
|
|
+ left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.status_cd = '0' and oc.car_type_cd='1001'
|
|
|
left join pay_fee_attrs pfa on t.fee_id = pfa.fee_id and pfa.spec_cd = '390002'
|
|
|
left join pay_fee_detail_discount pfdd on t.detail_id = pfdd.detail_id and pfdd.status_cd = '0'
|
|
|
left join fee_discount fd on pfdd.discount_id = fd.discount_id and fd.status_cd = '0'
|
|
|
@@ -987,7 +987,7 @@
|
|
|
left join building_room br on pf.payer_obj_id = br.room_id and pf.payer_obj_type = '3333' and br.status_cd = '0'
|
|
|
left join building_unit bu on br.unit_id = bu.unit_id and bu.status_cd = '0'
|
|
|
left join f_floor f on bu.floor_id = f.floor_id and f.status_cd = '0'
|
|
|
- left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.status_cd = '0'
|
|
|
+ left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.status_cd = '0' and oc.car_type_cd='1001'
|
|
|
left join pay_fee_attrs pfa on t.fee_id = pfa.fee_id and pfa.spec_cd = '390002'
|
|
|
where t.status_cd = '0'
|
|
|
<if test="roomNum !=null and roomNum != ''">
|
|
|
@@ -1047,7 +1047,7 @@
|
|
|
left join building_room br on pf.payer_obj_id = br.room_id and pf.payer_obj_type = '3333' and br.status_cd = '0'
|
|
|
left join building_unit bu on br.unit_id = bu.unit_id and bu.status_cd = '0'
|
|
|
left join f_floor f on bu.floor_id = f.floor_id and f.status_cd = '0'
|
|
|
- left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.status_cd = '0'
|
|
|
+ left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.status_cd = '0' and oc.car_type_cd='1001'
|
|
|
left join pay_fee_attrs pfa on t.fee_id = pfa.fee_id and pfa.spec_cd = '390002'
|
|
|
left join pay_fee_detail_discount pfdd on t.detail_id = pfdd.detail_id and pfdd.status_cd = '0'
|
|
|
left join fee_discount fd on pfdd.discount_id = fd.discount_id and fd.status_cd = '0'
|
|
|
@@ -1229,7 +1229,7 @@
|
|
|
left join building_room br on t.payer_obj_id = br.room_id and t.payer_obj_type = '3333' and br.status_cd = '0'
|
|
|
left join building_unit bu on br.unit_id = bu.unit_id and bu.status_cd = '0'
|
|
|
left join f_floor f on f.floor_id = bu.floor_id and f.status_cd = '0'
|
|
|
- left join owner_car oc on t.payer_obj_id = oc.car_id and t.payer_obj_type = '6666' and oc.status_cd = '0'
|
|
|
+ left join owner_car oc on t.payer_obj_id = oc.car_id and t.payer_obj_type = '6666' and oc.status_cd = '0' and oc.car_type_cd='1001'
|
|
|
where t.state = '2008001'
|
|
|
and t.status_cd = '0'
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
@@ -1253,7 +1253,7 @@
|
|
|
left join building_room br on t.payer_obj_id = br.room_id and t.payer_obj_type = '3333' and br.status_cd = '0'
|
|
|
left join building_unit bu on br.unit_id = bu.unit_id and bu.status_cd = '0'
|
|
|
left join f_floor f on f.floor_id = bu.floor_id and f.status_cd = '0'
|
|
|
- left join owner_car oc on t.payer_obj_id = oc.car_id and t.payer_obj_type = '6666' and oc.status_cd = '0'
|
|
|
+ left join owner_car oc on t.payer_obj_id = oc.car_id and t.payer_obj_type = '6666' and oc.status_cd = '0' and oc.car_type_cd='1001'
|
|
|
where t.state = '2008001'
|
|
|
and t.status_cd = '0'
|
|
|
<if test="communityId !=null and communityId != ''">
|