|
@@ -135,7 +135,8 @@
|
|
|
ptd.previous_processes_id,
|
|
|
ptd.processes_status,
|
|
|
scd.product_remark,
|
|
|
- wo.id workOrderId
|
|
|
+ wo.id workOrderId,
|
|
|
+ sc.delivery_date contractDeliveryDate
|
|
|
FROM
|
|
|
production_task_detail ptd
|
|
|
LEFT JOIN production_task pt ON ptd.production_task_id = pt.id
|
|
@@ -143,6 +144,8 @@
|
|
|
LEFT JOIN work_order wo ON pp.work_order_id = wo.id
|
|
|
LEFT JOIN bytesailing_jxst.sales_contract_details scd ON wo.contract_details_id = scd.id
|
|
|
AND scd.del_flag =0
|
|
|
+ LEFT JOIN bytesailing_jxst.sales_contract sc ON scd.sales_contract_id = sc.id
|
|
|
+ AND sc.del_flag =0
|
|
|
${ew.customSqlSegment}
|
|
|
</select>
|
|
|
|