|
|
@@ -48,7 +48,8 @@
|
|
|
tmp.use_unit_address, tmp.use_unit_zipcode, tmp.use_unit_contact, tmp.use_unit_phone,
|
|
|
tmp.fee_nature, tmp.fee_date, tmp.recipient, tmp.recipient_phone, tmp.dept_phone,
|
|
|
tmp.recipient_email, tmp.payer_contact_name, tmp.payer_contact, tmp.payer_mail,
|
|
|
- tmp.equip_main_type, tmp.scheduling_id, tmp.scheduling_time
|
|
|
+ tmp.equip_main_type, tmp.scheduling_id, tmp.scheduling_time,
|
|
|
+ tmp.ANNOTATOR_DATE,tmp.ANNOTATOR_ID,tmp.ANNOTATOR_NAME
|
|
|
FROM (
|
|
|
SELECT aco.id, aco.appointment_no, aco.unit_code, aco.unit_name, aco.unit_address,
|
|
|
aco.check_type, aco.equip_type, aco.equip_num_boiler AS equip_num, aco.equip_street, aco.equip_district,
|
|
|
@@ -60,7 +61,7 @@
|
|
|
aco.use_unit_address, aco.use_unit_zipcode, aco.use_unit_contact, aco.use_unit_phone,
|
|
|
aco.fee_nature, aco.fee_date, aco.recipient, aco.recipient_phone, aco.dept_phone,
|
|
|
aco.recipient_email, aco.payer_contact_name, aco.payer_contact, aco.payer_mail,
|
|
|
- aco.equip_main_type, aco.scheduling_id,
|
|
|
+ aco.equip_main_type, aco.scheduling_id,aco.ANNOTATOR_DATE,aco.ANNOTATOR_ID,aco.ANNOTATOR_NAME,
|
|
|
COALESCE(ebs.create_time, eps.create_time) AS scheduling_time
|
|
|
FROM pressure_appointment_confirm_order aco
|
|
|
LEFT JOIN pressure2_boiler_appointment_confirm_order_item baci ON baci.order_id = aco.id AND baci.deleted = 0
|